integrations/react/next-14
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack React Query Next.js 14 Integration#
Checks that @tanstack/react-query and @tanstack/react-query-devtools build with Next.js 14 and React 18 using the App Router.
What it checks#
app/providers.tsxcreates aQueryClientwithReact.useStateand rendersQueryClientProviderwithReactQueryDevtoolsin a client component.app/page.tsxis a server component that builds options withqueryOptionsand rendersapp/client-component.tsx, which reads a query withuseQuery.next.config.jssetseslint.ignoreDuringBuildsandtypescript.ignoreBuildErrors, so the build does not type-check.- CI runs the
buildscript (next build).
To run it from the repository root:
pnpm nx run @tanstack/query-integration-react-next-14:build