I want to create components while scrolling. Is it a good idea to use lodash's range method and increase it?
It looks like this:
_.range(4);
// => [0, 1, 2, 3]
So i can do something like this:
_.range(someState)
and in onWheel event I would just increment someState.
I'm not sure if this is a good idea tho. What do you think?