😓 I honestly don't understand how the range helps...
# help
m
😓 I honestly don't understand how the range helps create an infinite scroll... I'm probably missing lots of context here
s
Since range accepts
from
and
to
as its parameters, you can start with say
from 0 to 9
, then, as the user scrolls, you increment the
from
and
to
parameters by an amount. For example: - Start at 0 - 9 - User scrolls - Send a new request with
range
of 10 - 19
m
ah so like a pagination but while scrolling, got it