* fix: createServerFn fetcher has TSS_SERVER_FUNCTION symbol prop
* add serializer extension, register server functions to be serializable
* remove cast
before this happened:
```
vite:hmr circular imports detected: /src/routes/posts.route.tsx -> /src/utils/posts.tsx -> /node_modules/@tanstack/react-start/dist/esm/client.js?v=0794880d -> /node_modules/@tanstack/react-start-client/dist/esm/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/hydrateStart.js?v=0794880d -> /src/router.tsx -> /src/routeTree.gen.ts -> /src/routes/posts.route.tsx
```
the transform of `createServerFn` imported `createClientRpc` from `@tanstack/react-start/client` which also export `hydrateStart` in index.ts
moving `createClientRpc` into its own package export resolved this issue
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
The nitro v3 plugin link is incorrect, fix with correct one
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Updated Vercel deployment guide to reference the correct Nitro v3 Vite
plugin (now nitro-nightly), keeping the BETA status note.
* Clarifies deployment steps for React users relying on Nitro v3,
reducing confusion from outdated plugin naming.
* Ensures alignment with current tooling to improve setup reliability
and developer confidence.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
small typo
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Corrected a typo in the Router CLI installation guide by removing a
duplicated word (“your”) in the scripts section. Improves clarity and
professionalism of the instructions. No functional impact or behavior
changes. No configuration updates required; users don’t need to take any
action beyond reading the updated doc. Purely editorial change.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Since the RC, serverOnly and clientOnly no longer exist, and we use
createServerOnlyFn and createClientOnlyFn. I updated the docs to reflect
that.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- New Features
- Introduced createServerOnlyFn and createClientOnlyFn helpers for
environment-bound execution.
- Documentation
- Updated guides, examples, import examples, error messages, and
tree-shaking notes to use the new helper names.
- Refactor
- Renamed public environment helpers (serverOnly → createServerOnlyFn,
clientOnly → createClientOnlyFn) and removed the old exports from the
public API.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
The docs make references to react in a lot of places. I updated the ones
I could find in the build-from-scratch guide to use proper solid-js
package names and other references.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Documentation**
- Expanded "build from scratch" guide for migrating from React to
SolidJS.
- Added comprehensive mapping of React libraries, tooling, and plugins
to Solid equivalents.
- Documents alternative React tooling options and Solid-compatible
plugin recommendations.
- Clarifies updating JSX runtime and project configuration for SolidJS.
- Describes import/usage changes and fragment/JSX differences needed for
Solid.
- Notes removal of React-specific type artifacts during migration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
This fixes an unclosed Markdown code block in the `server-functions`
documentation page. Without the closing fence, the rest of the page
renders incorrectly.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Standardized code block formatting in the React Server Functions guide
by replacing four-backtick fences with standard triple backticks for
TypeScript snippets.
* Improves readability, syntax highlighting, and consistency across
examples, including route loading and basic parameter sections.
* No changes to behavior, APIs, or functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Fixes some issues I was having with https://conform.guide (also fixes
https://github.com/TanStack/router/issues/4533)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Compile-time serialization validation now recognizes readonly arrays
and tuples for inputs and results, preserving tuple shapes and improving
type inference and editor experience; no runtime changes.
* **Tests**
* Added type-level tests covering recursive, nested, readonly array and
tuple scenarios to verify compile-time validation and type propagation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->