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
getVirtualState is getting the height of the container every onScroll (in addition to a lot of other repeated calculations) when the values likely haven't changed. I believe this is causing elements to be reflowed by the browser, and even if not, is doing the same work over and over.
I will try to optimize the method after #14 which is required to know if things need to be recalculated.
The text was updated successfully, but these errors were encountered:
getVirtualState
is getting the height of the container everyonScroll
(in addition to a lot of other repeated calculations) when the values likely haven't changed. I believe this is causing elements to be reflowed by the browser, and even if not, is doing the same work over and over.I will try to optimize the method after #14 which is required to know if things need to be recalculated.
The text was updated successfully, but these errors were encountered: