How do you fetch and manage data in a React app?
You could try using fetch directly and work with built-in React hooks like `useEffect`.
Then what if you want to:
- 📋 cache data between components
- 🌎 sync data between browsers
- 🔄 check for new updates
- 💨 add optimistic UI support
Then you have to add more custom logic to handle these cases.
Have a look at the following example. That's what we are building in this lesson.