mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
placement: every plan without <Hydrate> on the one placement (R155 phase 1)
computePlacement sends every plan the old engine does not still need (a <Hydrate> chunk, its export outputs, a split output without a route module) to the route placement: server-fn handler modules, the RSC provider copy and erasure-only plans. Statements stay in the module with what they name (R154) and run at load; a declaration only removed text used leaves (l1: a function only the handler calls goes from the client; its handler stays in place on the server, accepted: main makes a second instance there); the handler module imports what the module keeps. The shared-set fixed point of the route placement looks generated members' readers up in a map: with 6,400 hoisted handlers it scanned every member per member. Kind A tests (failing before): l1 client, e13/l10, e11, e23, l13 and t1 on the server, a kept const imported by the handler module, RSC l1 roles; the three tests whose expectations follow R154 updated. Open (notes, stop condition): a dangling inline type export specifier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2ac36c5aee
commit
199de6c765
6 changed files with 213 additions and 23 deletions
Loading…
Add table
Add a link
Reference in a new issue