setState isn’t update the value on time

With useState you won’t be able to resolve this issue, I think. Since useState tries to re-render component, I don’t think it would work. I suggest you to use useRef instead.


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top