0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/solid-router-ssr-query
Sarah Gerrard 49bcd4db74
chore: refresh Router and Start dependencies (#8300)
* chore: refresh Router and Start dependencies

* chore: centralize shared dependencies

* chore: keep examples self-contained

* chore: sync catalog versions into examples

* test(start-plugin-core): refresh hydration snapshots and portable fixtures
History 2026-09-09 06:27:59 +02:00
..
src solid-router-ssr-query (#5310) 2025-10-21 00:29:02 +02:00
CHANGELOG.md ci: Version Packages (#8177) 2026-08-27 01:33:18 +02:00
eslint.config.js solid-router-ssr-query (#5310) 2025-10-21 00:29:02 +02:00
package.json chore: refresh Router and Start dependencies (#8300) 2026-09-09 06:27:59 +02:00
README.md docs: use the dynamic README header endpoint (#7940) 2026-08-03 21:03:29 +02:00
tsconfig.build.json chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
tsconfig.json solid-router-ssr-query (#5310) 2025-10-21 00:29:02 +02:00
vite.config.ts chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00

TanStack Solid Router

@tanstack/solid-router-ssr-query

SSR query integration for TanStack Solid Router and TanStack Solid Query.

This package provides seamless integration between TanStack Router and TanStack Query for server-side rendering in Solid applications.

Installation

npm install @tanstack/solid-router-ssr-query
# or
pnpm add @tanstack/solid-router-ssr-query
# or
yarn add @tanstack/solid-router-ssr-query

Usage

import { QueryClient } from '@tanstack/solid-query'
import { createRouter } from '@tanstack/solid-router'
import { setupRouterSsrQueryIntegration } from '@tanstack/solid-router-ssr-query'

const queryClient = new QueryClient()
const router = createRouter({
  routeTree,
  context: { queryClient },
})

setupRouterSsrQueryIntegration({
  router,
  queryClient,
})

License

MIT