0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/start
Alex Godfrey 903b17b197
Docs(Start): Update environment-functions.md with correct function names (#5236)
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>
History 2025-09-26 00:34:58 +02:00
..
framework Docs(Start): Update environment-functions.md with correct function names (#5236) 2025-09-26 00:34:58 +02:00
config.json docs: Start overhaul 2025-09-23 13:34:03 -06:00