Skip to content

gitdagray/useeffect_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"How to stop useEffect from running twice"


Author Links

👋 Hello, I'm Dave Gray.

Check out my YouTube Channel with all of my tutorials.

🚩 Subscribe to my channel

Buy Me A Coffee

🚀 Follow Me:


Description

📝 React 18 introduced a fundamental change in Strict Mode. Strict Mode is also enabled by default when you start your project with create-react-app. You should try to make your project work without the fix provided in this repository, but when all else fails, this fix will keep the useEffect double call from wreaking havoc.

📺 YouTube Video for this repository.


💻 Source Code


🎓 Academic Honesty

DO NOT COPY FOR AN ASSIGNMENT - Avoid plagiargism and adhere to the spirit of this Academic Honesty Policy.


📚 Tutorial References

⚙ VS Code Extensions I Use:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published