All 12 useState & useEffect Mistakes Junior React Developers Still Make in 2023

Avoid these 12 mistakes when working with useState & useEffect... 👉 NEW React & Course: 👉 Professional JavaScript Course: 👉 Professional CSS Course: 👉 Email newsletter (React course out soon!): 👉 Chat with me on Discord: all my courses have a private Discord 💻 Premium Courses: Professional JavaScript: Professional CSS: All courses: 🔔 Email newsletter (React course out soon!): ⏱️ Timestamps: 0:00 Intro 0:06 12/12 - State updates aren’t immediate 2:35 11/12 - Conditional rendering 4:46 10/12 - Updating object state 7:59 9/12 - 1 Object state instead of multiple smaller ones 11:25 8/12 - Information can be derived from state / props 14:32 7/12 - Primitives vs non-primitives 19:05 6/12 - Initializing state with object 22:12 5/12 - TypeScript mistakes 27:19 4/12 - Not using custom hooks 30:59 3/12 - Server & Client components 33:08 2/12 - Stale closure 38:42 1/12 - Fetching in useEffect #webdevelopment #programming #coding
Back to Top