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
1 view
142
29
1 month ago 00:03:16 1
AKi「Free to Fly」MV Full ver.
1 month ago 00:12:12 1
Lokum Gibi Yumuşacık ET Pişirmenin Sırrı❗ PATATES ve Et varsa Bu Tarifi Mutlaka Deneyin. Ana yemek😉
1 month ago 00:12:23 1
МНОГОУКЛАДНАЯ ЭКОНОМИКА
1 month ago 00:47:54 1
Knowing this secret, you can breed any orchid! Very easy
1 month ago 01:07:39 2
DP-6 - live part 2 @ DP-6 records label night @ Rob Roy Lab (2023-12-16)
1 month ago 00:04:36 1
Kabay - Melting Sensation [CRG033]
1 month ago 00:45:12 1
Donkey Kong Country 2 Mega Medley ~ Piano and Organ
1 month ago 03:16:52 1
Trancetastic Mix 100: Descendent Of Titan’s 3, 3 Hour Uplifting Power Trance Special
1 month ago 00:11:07 1
Почему понадобилась встреча на высшем уровне? Михаил Хазин
1 month ago 00:09:25 1
FERRARI 12CILINDRI: dal vivo con l’ultimo bolide di Maranello
1 month ago 00:53:21 1
“Rechtswissenschaft ohne Recht“ | Abschiedsvorlesung von Staatsrechtsprofessor Andreas Kley
1 month ago 00:07:16 1
Как моментально снять тревожность и паническую атаку. Всего 3 минуты и тревожности как не бывало
1 month ago 00:27:45 1
Как легко стать красивым
2 months ago 00:03:36 1
Alice Retro Line Dance (Beginner) Living Next Door to Alice/ With Cool Line Dance
2 months ago 00:44:17 1
OMA - MF DOOM Instrumentals (Full Live Gig, 2023)
2 months ago 00:06:05 1
#Анапа Продается квартира рядом с парком и морем на Высоком Берегу - ЖК Аванта
2 months ago 00:10:01 1
BTS Embarrassing Moments In Award Shows
2 months ago 00:05:06 1
JINJER - Pisces (Live Session) | Napalm Records
2 months ago 00:10:15 1
Lavoce 12“ Subwoofer Test
2 months ago 00:08:11 1
I surprised all the guests! Quick and easy puff pastry appetizer
2 months ago 00:03:53 1
Hamas’ 1 Attack Every 2 Hours: Israeli Troops Run For Cover In Gaza Amid 15 Attacks In Just 24 Hrs
2 months ago 00:12:01 1
Кто такие боссы из Hollow Knight? [Недо-Обзор #12]
2 months ago 00:00:26 1
The Kar98k META is *BACK* in Warzone 2!? #callofduty #mw2 #cod #warzone #warzone2 #callofdutymw
2 months ago 11:54:59 1
Musica para trabajar activo y alegre mix - La Mejor Musica Deep House - Deep House Mix 2024 #68