TanStack / TanStack/router

docs: document custom serialization adapters in Start

Open
#7,796 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.1k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
143

Description

The Router SSR guide still says application-level serialization customization is being worked on. Start now supports serializationAdapters through createStart, and applies them to SSR hydration and server-function serialization.

Update the stale SSR guidance and add Start documentation that covers:

  • Creating an adapter with createSerializationAdapter
  • Registering adapters through createStart({ serializationAdapters })
  • A custom type example such as Prisma Decimal
  • Adapter use in SSR and server-function payloads
  • Built-in serialization support, including BigInt

Related Work: #3785

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the current Router SSR guide and the existing Start documentation entry points, then locate the stale serialization guidance. Document adapter creation and registration, a custom type example, SSR and server-function payload usage, and built-in support such as BigInt; done means the outdated statement is removed and all listed topics are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.