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.
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.