Web App | Fri Apr 08 20222,006 views

Suspense Example


Hello my friend! 👋🏼

This is a Suspense example, which is a React feature that allows you to render a loading state while your component is loading.

About this app

This tutorial is perfect to get familiar with the Suspense feature since it seems like it's going to be a common feature in the future.


In this project we are using npm

npm install swr

We use SWR to fetch data from the API.


As I said at the beginning, Suspense is a great feature and we as developers should get familiar with it.

Youtube GitHubDownload

Go back to Projects