You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a411d86
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(html): embed router data in HTML; extract shouldIntercept; drop document queries
Replace the `data-root` attribute and runtime `document.querySelectorAll`
discovery with a `<script type="application/json" data-router>` tag emitted
by `buildAssetTags`. The tag carries `{ root, assets }` so `startRouter` and
`parsePage` read build-time data instead of querying the live document.
- `getAssets` helper removed; skew detection now reads `data-router` JSON
from the fetched page
- `shouldIntercept(event, url, root)` extracted from the inline navigate guard
- `hydrated` exported from runtime so the router uses it directly for
pre-swap island scroll saves (no `document.querySelectorAll` for that path)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments