Sample implementation that combines React Query, Suspense, and Error Boundary.
This sample uses React Query to make requests to the JSONPlaceholder API, a free API for testing and prototyping.
Node.js is required to run this application. Please install Volta to automatically use the suitable Node.js version.
The recommended extensions for Visual Studio Code are listed in .vscode/extensions.json.
- Clone repository.
git clone https://github.com/kwn1125/react-query-suspense-error-boundary.git <project_directory>
- Install dependencies by referencing the package-lock.json.
cd <project_directory>
npm ci
- Launch the application.
npm run dev