Sign In

@tanstack/solid-router-ssr-query

Package Overview
Dependencies
Maintainers
5
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mini Shai-Hulud" supply chain attack.

Affected versions:

1.166.151.166.18
View campaign page

@tanstack/solid-router-ssr-query

Modern and scalable routing for Solid applications

latest
Source
npmnpm
Version
1.167.1
Version published
Weekly downloads
8.1K
-8.87%
Maintainers
5
Weekly downloads
 
Created
Source

TanStack Router Header

@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

Keywords

solidjs

FAQs

Package last updated on 29 May 2026

Related posts