Lab · Beginner · 40 min
Lab: Delete the effects
Take a component full of unnecessary effects and remove every one that can be replaced by a computation or a handler.
- react
- lab
Inside this lab
- A colleague's component has five effects: two sync state from props, one responds to a click, one fetches, one subscribes to resize.
- Tasks
- 3

