mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-utils): a switch value or case test observes identity
`switch` compares by `===`, so a function used as a `case` label (or as the switch value) is a sentinel like one compared with `===`: a chunk now imports it instead of copying it, and an importer of the route file passing its instance matches the split component's comparison. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2361473819
commit
5312a31913
4 changed files with 29 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue