Jay Meistrich @jayz.us · Dec 11

Interestingly, because of the other optimizations to minimize renders, it was actually much better to remove scrollEventThrottle, unstable_batchedUpdates, and debouncing scroll events. They were causing delays while scrolling quickly and weren’t actually adding any benefit.

10 likes 1 replies

?

Replies

Jay Meistrich · Dec 11

I think there’s still a lot more room for optimization. The next thing I’ll try is finding some heuristics to reduce the frequency of running calculateItemsInView, and skipping/delaying updating container positions when not in view.