Effects and Async
Use effects for timers, loading data and the world outside React, and clean up after them, including retries, debouncing and stale responses.
- 01
Load a User Profile
- easy
- Code
- 02
Sync the Page Title
- easy
- Code
- 03
Run a Stopwatch
- easy
- Code
- 04
Count Down to Zero
- easy
- Code
- 05
Show Copied for a Moment
- easy
- Code
- 06
Show Online or Offline
- medium
- Code
- 07
Debounce a Search Box
- medium
- Code
- 08
Retry a Failed Load
- medium
- Code
- 09
Load More Results
- medium
- Code
- 10
Autosave a Note
- medium
- Code
- Pro
- 11
Ignore Stale Responses
- hard
- Code
- Pro
- 12
Poll Until a Job Finishes
- hard
- Code
- Pro