mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
placement: a server-fn handler module imports what its file keeps; a handler-only declaration evaluating a read of kept state stays (R157)
Rule 3: `custom` leaves isChunk: the lazy handler module is another planner's derived output again, importing what the env module keeps (one instance: the validator's state, a class, the module's writes; #8656). Rule 4: one fixed point after the env closure: a declaration the lazy module would hold, not exactly a function, stays in the env module when its evaluation reads, by name and transitively through what the lazy module would hold, something the env module keeps (x2: 'a/b'). Rule 5 is the existing shared-writer fallback. Split chunks unchanged (R153). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
eb48025f0b
commit
4883c38e7d
7 changed files with 163 additions and 56 deletions
Loading…
Add table
Add a link
Reference in a new issue