Learn how to get Free YouTube subscribers, views and likes
Get Free YouTube Subscribers, Views and Likes

All 12 useState u0026 useEffect Mistakes Junior React Developers Still Make in 2024

Follow
ByteGrad

NEW React & Next.js Course: https://bytegrad.com/courses/professi...
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
Add auth to your app FAST: https://bit.ly/3QOe1Bh

NEW React & Next.js Course: https://bytegrad.com/courses/professi...
Professional JavaScript Course: https://bytegrad.com/courses/professi...
Professional CSS Course: https://bytegrad.com/courses/professi...

Discord: all my courses have a private Discord where I actively participate
Email newsletter (BIG update soon): https://email.bytegrad.com

⏱ 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 nonprimitives
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

posted by ezintombizj