If you’ve ever come across having to use setInterval within react hooks you probably hit a wall where the component just doesn’t act as it should… For example, we might naively code something like this: Simple enough; the intent behind the above code is to update our “counter” state variable every so often, and reflect … Continue reading React hooks and “setInterval”

By admin