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

refactor: drop compiler code no input can reach

Core planner-facing members with no caller anywhere and never executed by
the oracle, noncompiler tiers or the diff corpus: RefIndex.isSelfRef,
JsxInfo.hasJsx, Tier1.functionOwning, Tier1.orphanedLocals,
ModuleAnalysis.hasTier1, ValueAnalysis.valueOfBindingNode,
RenderTree.regionTable.

Start: the <Hydrate> `for await` check (a statement in the children always
sits in a function or class body, where it is allowed) and the
describeServerFn JSXAttribute case (an attribute's value is its expression
container, never the chain). Client bytes unchanged in all 18 scenarios.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-27 18:34:04 +01:00
commit beb3029bbc
No known key found for this signature in database
5 changed files with 1 additions and 97 deletions