mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
refactor(router-utils): purity only for a target's effects, built when asked (phase 3b)
No compile asks purity any more: the per-compile purity (`ModuleAnalysis.purity` with the compile's builder chains, the `env` option, `buildUnits` recording `const` builders) and the `isPureExpression` export go. `effects()` keeps its own contexts, the module's statements' and the recognizer's chain factories' per environment, now built when a module is first asked about as a target (`purityForEffects`), not in every constructor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b9ba3d1fd3
commit
df0d264fd2
4 changed files with 116 additions and 127 deletions
Loading…
Add table
Add a link
Reference in a new issue