We're a place where coders share, stay up-to-date and grow their careers.
It seems that in the hooks example you didn't clear the interval. Why is that?
Hey Raul, thanks! You are right and it is a good point! I updated the code. It is a valid concern when the app is not server-side rendered.
It seems that in the hooks example you didn't clear the interval. Why is that?
Hey Raul, thanks! You are right and it is a good point! I updated the code. It is a valid concern when the app is not server-side rendered.