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

fix(start-plugin-core): Hydrate and env planners on Lane R's core

- Hydrate: the core now reads a Solid `use:x` directive as a value ref
  (router lane, R39 by the core), so the planner's own module-binding
  directive rewrite is gone; a captured local a directive names stays a
  local (`const x = props.x`, no substitution into the attribute name,
  which rendered `use:props.x`).
- Env: a `var` hoisted out of a nested block is now declared by the
  effect unit holding it; the orphan cleanup still removes its declarator
  when the planner erased every reference (J4.12), as before.
- Hydrate test: a component only the chunk reads moves with its own
  property writes (R29 (b), now implemented as designed by the router
  lane) instead of being imported from the parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-25 02:09:18 +02:00
commit 05f75521db
No known key found for this signature in database
3 changed files with 27 additions and 26 deletions