how works dataLength ?, different result when is a static number
kypanz opened this issue · 1 comments
Hello i am curious about how this works, let me explain
if i put in dataLength
for example : arrExample.length
works fine, but if i put a number , for example 20
, 1
or anothers, this only render one time ? , why this happend ?
the documentation says : set the length of the data.This will unlock the subsequent calls to next.
i am not sure but i have my theory, in this case the arrExample.length
works fine beacuse every time is called the next function is re-rendered with a new value, for example if arrExample.length = 20
in the first render and in the second has 40
has value this means this only need a different number every time has re-rendered and not care if it is a any number, i only courious about this
i am right ?, how works internally ? , please if i am wrong let me know i wanna know why this happend
thanks for read and have a nice day ❤️
I think that's what it looks like, but no one explains it.