0

I've run across many descriptions on how to effectively/efficiently set up a click event that pulls data from a single SharePoint list and then exports the data to Excel in a Vue.js environment.

So far, I've installed 'vue-excel-export' and 'vue-excel-xlsx' to get things rolling. Using a method that already pulls the data, my question is whether or not to create an array of the data first and then export or build a list of JSON objects and then export the data to Excel?

Any suggestions would really be helpful/appreciated....thanks!

1 Answer 1

0

JavaScript arrays are more memory efficient than objects, so the data takes less memory.

Reference: https://blog.kowalczyk.info/article/i/optimizing-javascript-by-using-arrays-instead-of-objects.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.