Skip to content
Source
Sign inSign up
TanStack/query

integrations/react/next-14

ci: apply automated fixes
History
Contents of integrations/react/next-14
NameLast commit messageLast commit date
..
app (directory)
.gitignore
next.config.js
package.json
README.md
tsconfig.json

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.tsx creates a QueryClient with React.useState and renders QueryClientProvider with ReactQueryDevtools in a client component.
  • app/page.tsx is a server component that builds options with queryOptions and renders app/client-component.tsx, which reads a query with useQuery.
  • next.config.js sets eslint.ignoreDuringBuilds and typescript.ignoreBuildErrors, so the build does not type-check.
  • CI runs the build script (next build).

To run it from the repository root:

  • pnpm nx run @tanstack/query-integration-react-next-14:build