You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not have a solution to improving the performance, I am suggesting a different approach or workaround. Even the best performance improvements will have eventually have limitations since arrays could literally be any size.
So instead, why dont we rather check length of array and only show 50/100/200 (maybe configurable) at a time. We could have a Load More button, i think this is best, so you can view and edit the rest of the document and load the array onto the page as you wish. Otherwise a Loading ellipsis, the rest of the page is allowed to load and render, while the big array loads async, with clever work not to block the thread, this is probably a bit complex.
The text was updated successfully, but these errors were encountered:
General information
Expected behavior
The array loads without the page becoming unresponsive
Actual behavior
The page becomes unresponsive
Steps to reproduce the behavior
The problem of performance when using large arrays seems to be well known and documented:
The test data from two can be used to reproduce.
Suggestion
I do not have a solution to improving the performance, I am suggesting a different approach or workaround. Even the best performance improvements will have eventually have limitations since arrays could literally be any size.
So instead, why dont we rather check length of array and only show 50/100/200 (maybe configurable) at a time. We could have a Load More button, i think this is best, so you can view and edit the rest of the document and load the array onto the page as you wish. Otherwise a Loading ellipsis, the rest of the page is allowed to load and render, while the big array loads async, with clever work not to block the thread, this is probably a bit complex.
The text was updated successfully, but these errors were encountered: