React Fiber

Hands-on practice for this lecture. Work through the exercises and quizzes to reinforce what you've learned.

1

Exercise 1 of 1

Render Purity & Strict Mode

Side effects in the render body fire multiple times — Strict Mode makes this visible. Move them to useEffect to guarantee exactly-once execution.

Impure render — side effect in component body

Component

renders: 1

External queue (should have 0 entries)

Click the button to see entries appear…

Each click should add exactly 1 entry.

Practice: React Fiber — Interactive Exercises | Durgesh Rai