/react-suspense-data-fetching

Demo repo for illustrating data fetching using react suspense APIs

Primary LanguageJavaScript

React Suspense Data Fetching

Demo repo for illustrating data fetching using react suspense APIs

Run repo

Install dependencies

npm install

Run app

npm start

Then, modify src/App.js to make changes

The src/steps folder contains each of the steps of the demo

  • Step 1 - Hardcoded Data
  • Step 2 - Fetching with useEffect
  • Step 3 - Fetching with Suspsense Capatible APIs