0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e
Ben Durrant 402bae629a
fix(start): fix serverOnly implementation/types, and add clientOnly counterpart (#2954)
* Fix type of serverOnly and add clientOnly function

* Replace invalid invariant call with throwing an error, and support clientOnly

* only build handlers once and reuse

* write type test and make linter happy

* Add snapshot testing for serverOnly and clientOnly

* Write e2e tests

* use a single source of truth for tokens to transform and do dead code elimination after
History 2024-12-08 21:48:13 +01:00
..
react-router test(e2e): derive e2e testing ports from the package name (#2939) 2024-12-07 10:53:11 +13:00
start fix(start): fix serverOnly implementation/types, and add clientOnly counterpart (#2954) 2024-12-08 21:48:13 +01:00
utils.js test(e2e): derive e2e testing ports from the package name (#2939) 2024-12-07 10:53:11 +13:00