A basic Next.js SSR Boilerplate using Tanstack Query v5 for data fetch/state management ( prefetches & hydration ) and Zustand as a client-side state manager.
For the sake of curiosity I've implemented a sync between two states utilizing Query Client's getQueryData
/setQueryData
and Zustand store actions.
Antfu for Eslint config
Tailwind for CSS
React 19 w/ Compiler
Install dependencies:
npm i
Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.