/suspense-test

Trying out React Suspense for data fetching

Primary LanguageJavaScriptMIT LicenseMIT

React Suspense Test (data fetching)

This project shows off how you can use React Suspense for data fetching.

⚠️ React Suspense for data fetching is still experimental and APIs might changes in the future.

Installation

The project is setup with Next.js. Setup the project by running:

git clone https://github.com/robinandeer/suspense-test
cd suspense-test/
yarn

Usage

Simply start the dev server:

yarn dev

License

MIT

Acknowledgements