The useState() Hooks is a crucial React Hook. But it’s sometimes being used in situations where you actually don’t need - and where you therefore shouldn’t use it.
Because there are UX or performance benefits to be reaped when avoiding it in certain scenarios.
Learn all about React (discount applied):
🖥️ Official Website & Courses
💬 Academind Community
👋 Social Media
@academind_real
00:00:00 - Introduction
00:00:33 - useState() Recap
00:01:27 - Using useRef() instead of useState()
00:03:12 - Alternative: Leveraging Built-in Browser Features
00:04:13 - React Deep Dive
00:04:57 - Alternatives: Store Information in URL (Query Params)
00:07:02 - Improvement: Sync State with localStorage
00:08:08 - Conclusion
1 view
0
0
1 month ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
1 month ago 00:12:48 1
The Brand New STIHL MS400.1! WHY is this CHAINSAW different?
1 month ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:26:03 1
Why I Voted For Donald Trump
1 month ago 00:03:57 1
Don Toliver - BROTHER STONE (FEAT. KODAK BLACK) [Official Music Video]
2 months ago 00:15:01 4
Oswald: A Hero of Humanity | NIKKE Character Analysis
2 months ago 00:03:06 1
Billie Jean ∞ Michael Jackson ft. Minions
2 months ago 00:05:18 157
Don’t Speak feat. RE4R Ada and Casual Leon
2 months ago 00:20:46 1
YAWEH and the Three-Dimensional Prison - The DARK Gnostic Connection
2 months ago 00:00:18 1
Он Отлично Справляется ❤️
2 months ago 00:03:10 1
The Nightmare Before Christmas - This Is Halloween [4K HD]
2 months ago 00:02:40 1
Красивое видеопоздравление с Днем Рождения из лучших советских мультфильмов
2 months ago 00:07:07 1
First Time Reaction to Diana Ankudinova|I couldn’t help falling in love |Stupefying Voice🤯
2 months ago 00:17:17 1
Diana Ankudinova - Can’t Help Falling In Love (Live) First Time Hearing | REVIEWS AND REACTIONS
2 months ago 00:02:14 1
Nightcore - Heathens (Lyrics)
2 months ago 00:07:28 1
GALACTIC CITIES ON THE SEAS
2 months ago 00:03:13 2
Benson Boone - Beautiful Things (Official Music Video)
2 months ago 00:12:50 1
Chip War Erupts! Is China REALLY Winning the Global Tech Battle?
2 months ago 00:03:58 44
GLYPHID SLAMMER - A Deep Rock Galactic Song Ft. Hatsune Miku, Kasane Teto, Zundamon, Kotonoha Akane