Infinite Scroll with set number of virtual items
I'm implementing infinite scroll. When the user gets near the last item, I'd like to add a few items to the virtualizer and remove the same number from the beginning.
Anyone got any tips on how to implement this behavior without causing a runaway effect?
Anyone got any tips on how to implement this behavior without causing a runaway effect?