Hi, when i reload the web browser, and add console log inside of useEffect hook.
Then in the browser console, i could see it was printed twice.
How can i make sure to run only one time?
Hi, when i reload the web browser, and add console log inside of useEffect hook.
Then in the browser console, i could see it was printed twice.
How can i make sure to run only one time?
No answers yet.
Sign in to answer, and earn points and reputation for helping.