You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ❤️
The text was updated successfully, but these errors were encountered:
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 example20
,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 ifarrExample.length = 20
in the first render and in the second has40
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 thisi 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 ❤️
The text was updated successfully, but these errors were encountered: