mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-utils): a statement rewritten from its first byte stays an effect
`createIsomorphicFn().server(() => { use(label) })()` and the env-only calls in
statement position lost what their kept implementation reads: placement took an
edit starting at the statement's first byte for its removal, so the statement was
no effect root and `use` and `label` went, and the module threw at load.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
abf0c7b3b6
commit
e4960c29fa
3 changed files with 185 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue