T
TanStack3mo ago
xenial-black

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
stormy-gold
stormy-gold3mo 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?