0
Fork 0
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:
Sheraff 2026-10-25 18:15:46 +01:00
commit 2210452c2a
No known key found for this signature in database
2 changed files with 35 additions and 1 deletions