0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/start/framework/react
Sheraff ef9aa56252
fix(router-utils): Hydrate chunks refuse to assign their copy of kept state, and import the route binding (measure-phase2 findings 1, 2)
H4, copy analogue: a <Hydrate> chunk that would assign its copy of a
binding the env module keeps falls back (hydrate-module-write), in the
same writers check as assigning an import: the copy would be written and
the module's read (a module let the loader and the page read, assigned in
the children, built silently wrong; the base refused it, main fails the
build). The refusal now advises split={false} only.

H2 (a): the hydrate output's import set is its planner's set plus the
route binding (RouteModule.route, set by the router planner), as split
chunks import it, whatever encloses the boundary: children reading Route
from an exported component outside the route's component no longer get a
second createFileRoute(...).

Rows failing at 9cc5260b80: route-file refusals (counter, store), h4's
refusal, the chunk importing Route (fast tier), and a Vite/Rsbuild build
where the children read the one route the tree updated. KNOWN-BUGS, SPEC,
README, guide row and changeset follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-16 01:45:24 +01:00
..
guide fix(router-utils): Hydrate chunks refuse to assign their copy of kept state, and import the route binding (measure-phase2 findings 1, 2) 2026-11-16 01:45:24 +01:00
tutorial docs(start): fix tutorial and ISR guide links (#8366) 2026-09-11 14:36:09 -06:00
build-from-scratch.md fix(start-plugin-core): the Vite plugin order no longer matters for Start 2026-11-08 19:36:50 +01:00
comparison.md docs(start): substantiate framework comparison claims (#8369) 2026-09-11 15:06:24 -06:00
getting-started.md docs(start): describe key search entry pages (#8367) 2026-09-11 14:47:42 -06:00
migrate-from-next-js.md chore(pnpm): upgrade to pnpm 12 (#8912) 2026-11-09 13:24:08 +01:00
migrate-from-release-candidate.md docs(start): state the actual Vite, Rsbuild and Rspack floors 2026-11-08 18:54:13 +01:00
overview.md docs (#8699) 2026-10-13 01:35:59 +02:00
start-vs-nextjs.md docs(start): substantiate framework comparison claims (#8369) 2026-09-11 15:06:24 -06:00