Learn all about useEffect() & React in-depth:
🖥️ Official Website & Courses
💬 Academind Community
👋 Social Media
@academind_real
00:00:00 useEffect() is often used incorrectly!
00:01:58 useEffect() basics
00:03:16 Setting dependencies correctly
00:08:27 Avoid infinite loops
00:09:56 Introduction to the problem of using useEffect() unnecessarily
00:10:20 Example 1: Use derived state instead
00:12:49 Example 2: Reset state with keys instead
00:17:15 Example 3: Don’t wrap synchronous APIs with useEffect()
00:18:32 Sometimes you DO need useEffect()
00:19:32 Consider replacing direct useEffect() usage with specialized libraries
1 view
0
0
3 months ago 00:00:45 1
Euro Truck Simulator 2 - Greece DLC Reveal Teaser
3 months ago 00:05:29 1
Watch Your Tummy Fat DISAPPEAR When You Do This
3 months ago 00:04:21 1
Narrow Road - Josh Baldwin
3 months ago 00:02:40 1
The Kiffness x Chai Kichi - Ha Hee (Singing Cat Song)