* make use of prod setup for spa-mode e2e test
* ci: apply automated fixes
* nitpick
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* 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>