Skip to Content
Reference

TanStack Start server

TanStack Start's server-side cookie access.

import { … } from "@monarcode/session-kit/tanstack-start/server";

Guide: TanStack Start.

Functions

startJar

The CookieJar for the request TanStack Start is handling, to pass to serverAuth from @monarcode/session-kit/server. Use it in a server function, request middleware, a server route, or beforeLoad and loaders while they run on the server. Every call during one request returns the same jar.

On this page