Fetching Data
Load data from a server with useEffect, and always handle its three states: loading, success and error. Practice with a simulated API built from a Promise and setTimeout, then see the real fetch version and learn about race conditions.
Lesson 22 of 28