v2.0.0-next.24
Pre-releasePatch Changes
-
65f41f3: Navigations are declared to Solid's observe tier. Every client location write —
navigate(), a redirect chased while the previous target is still pending, the browser's own back/forward — now runs insideOBSERVE.attribution.withOriginwith the parametrized route pattern, params, and origin location, so the attribution engine names holds and re-runs after the route (navigation to /users/:id (/users/42)), times the navigation from the user event to settle, folds redirect hops onto the navigation they belong to (redirected from /files), and reports routes infeedback().navigations. The route name and params are read late — at settle — so a lazy route subtree that loaded during the hold is named by the exact route it resolved to, not its placeholder. The router's location signal and itsmatches,routingPending, and lazy-subtree memos carry names so they read as themselves in diagnostics rather than assignal/computed.Nothing changes in production builds:
OBSERVEis undefined there and the declaration folds out. Requiressolid-js2.0.0-rc.8 (OBSERVE.attribution.withOrigin).