mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-plugin): no refresh marker on an imported component
The dev refresh marker (`page.$$tsrRefreshId = …`) was written onto the export of another module when a split option named an imported binding (or a member of one): a frozen component threw "object is not extensible". React Refresh registers a component where it is declared; the marker is only written on this module's own declarations. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
a7eb8d0e1c
commit
2210452c2a
2 changed files with 35 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue