Skip to content

Example project of using React Query + Next (App Router) with Suspense capabilities. Powered by JSONPlaceholder API

Notifications You must be signed in to change notification settings

SecondThundeR/posts-next-react-query

Repository files navigation

posts-next-react-query

This is an example project of displaying placeholder posts using NextJS (App Router) with React Query v5, utilizing some Suspense capabilities

Note

Demo on Vercel

This app uses techniques for using React Query with Server Components by using prefetching and Suspense/HydrationBoundary for non-blocking and responsive UI

Usage

git clone https://github.com/SecondThundeR/posts-next-react-query.git
cd posts-next-react-query
pnpm install
pnpm dev # or pnpm dev:turbo

About

Example project of using React Query + Next (App Router) with Suspense capabilities. Powered by JSONPlaceholder API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published