API fetching and useEffect
Part 1 of React Intermediate for TSIG MJCET. Loading data from an API into a component, and the effect that runs it.
You will learn
- Fetching data from an API in React
- How useEffect and its dependency array work
- Showing loading and error states