T
TanStack6mo ago
genetic-orange

How does the useSession hook in TanStack Start works

I saw it one of the examples and would like understand how it works. There's no docx for it.
import { useSession } from '@tanstack/react-start/server'
import { useSession } from '@tanstack/react-start/server'
1 Reply
rare-sapphire
rare-sapphire6mo ago
Pretty sure its a wrapper for this? https://v1.h3.dev/examples/handle-session
Handle Session - h3
Remember your users using a session.

Did you find this page helpful?