0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Sean Cassiere
d875321d12
fix(start): deferred createServerFn calls fails on the client (#2172)
* fix(start): deferred `createServerFn` calls failing on the client

* test(start-basic): add e2e check to make sure the complex deferred object gets printed on the page

* test(start-basic): more tests to make sure nothing is breaking
2024-08-23 09:17:43 -06:00
Sean Cassiere
3f6ffa5a21
test(examples): validation of layout route functionality by running e2e testing on the basic examples (#2042)
* chore: unify the layout ui across all the basic examples

* chore: more unification

* test(examples): e2e validation of layout routes
2024-07-28 00:12:15 +12:00
Tanner Linsley
54a0e76309 fix: Bring back injectedHtml; fix: meta, links, scripts hydration
Fixes #1853
2024-06-28 22:59:24 -06:00
Tanner Linsley
fd692cf77d
feat: New Serialization Paradigm (#1824)
* checkpoint

* fix: config

* checkpoint

* testing fixes (#1679)

* examples: init trellaux

* feat: Better serialization/streaming, RSC proof of concept

* fixup server-handler

* fix: update deps and lock

* fix: remove rscFrom

* fix: remove useLoaderDataTransform

* fix: min react version

* chore: lockfile

* style: prettier fail

* chore: swap expect-error for ignore

* chore(react-router): try coercing the types

* chore: put this back in

* fix: some tests

* remove conditions

* fix tests

* update lockfile

* fix: refactor dehydrated data

* Update docs

* fix: remove unused deferred logic

* fix port

* nevermind

* fix: remove rebase garbage

* disable playwright for a hot minute

* oops, actually disable it now

* fix: prettier formatting

* fix: do not ignore app.config files

---------

Co-authored-by: Nikhil Saraf <nsaraf98@gmail.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-06-28 09:45:01 -06:00
Dominik Dorfmeister
3c66fb545d
fix(router-devtools): make router a peerDependency of the devtools (#1671)
* fix: make router a peerDependency of the devtools

* fix: formatting
2024-05-27 14:49:51 +02:00
Tanner Linsley
317f1eb108 fix: SSR redirects 2024-05-26 15:24:25 -06:00
Tanner Linsley
1d677df94a fix(start): abstract SSR event handling 2024-05-26 14:08:53 -06:00
Tanner Linsley
075c6b3a50 examples: update start example 2024-05-26 14:08:53 -06:00
Sean Cassiere
4c67e76a3e
fix(router-generator): conflicting prettier outputs (#1661)
* style: prettier

* test(react-router): try using `it`

* chore: undo those test trys

* fix(router-generator): remove unnecessary line breaks

* fix(router-generator): closer to what it was earlier

* fix(router-generator): dont conflict with tsr project prettier for snapshots
2024-05-24 22:06:05 +12:00
Tanner Linsley
55adc136b9 examples: test vercel link 2024-05-23 17:22:52 -06:00
Tanner Linsley
f1147714ff fix(start): bundling and tests 2024-05-23 15:46:19 -06:00
Tanner Linsley
6d29cd7f64 fix(start): add experimental support for route manifest and ssr route manifest usage 2024-05-23 11:59:40 -06:00
Tanner Linsley
cb80816603 fix(start): config for RSCs... almost 2024-05-18 21:06:34 -06:00
Tanner Linsley
faef7261e2
fix: fix main type errors 2024-05-18 11:57:11 -06:00
Dominik Dorfmeister
4d0160a27e
refactor: fix type errors (#1626)
* refactor: fix type errors in eliminateUnreferencedIdentifiers.ts

* fix: relative import

* fix: no-cycle by moving rootRouteId into its own file.

The cycle was:
useMatch imports Matches
Matches import route (only for rootRouteId)
route imports useMatch

by moving rootRouteId to its own file, we break the cycle because Matches does not need to depend on route anymore

* refactor: import RootRouteId from the right place

* style: prettier

---------

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-05-18 14:23:07 +02:00
Tanner Linsley
782caa4977
fix: merge vinxi branch
* vinxi

* fix: createServerFn extraction, start config, vinxi config, dead-code elimination
2024-05-18 01:24:47 -06:00