Skip to content

Commit f1f0772

Browse files
Merge next (rc.13 peer floor); changeset: floor already covers rc.12
Co-authored-by: Cursor <[email protected]>
1 parent f430ace commit f1f0772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/declare-initial-route.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@solidjs/router": patch
33
---
44

5-
Observe tier: the router declares the route the document arrived on, with the same `OBSERVE.attribution.withOrigin` call it makes for every navigation — around the work that builds its context (`initial: true` on the ref), on both sides. On the client this is the first `"navigation"` record (`initial: true`, `at` the document's navigation start, no write to wait for); on the server the same declaration names the request's `"render"` record (`RenderEvent.route`: the matched pattern, the path, the params). A consumer naming page loads and requests by route (`/users/:id` rather than one name per user) had this for every navigation but the first; now it has the first too. Nothing in production builds: `OBSERVE` is undefined there and the declaration folds out. Needs `solid-js` / `@solidjs/web` `2.0.0-rc.12` or later (`NavigationRef.initial`, `RenderEvent.route`); the peer ranges move to `^2.0.0-rc.12`.
5+
Observe tier: the router declares the route the document arrived on, with the same `OBSERVE.attribution.withOrigin` call it makes for every navigation — around the work that builds its context (`initial: true` on the ref), on both sides. On the client this is the first `"navigation"` record (`initial: true`, `at` the document's navigation start, no write to wait for); on the server the same declaration names the request's `"render"` record (`RenderEvent.route`: the matched pattern, the path, the params). A consumer naming page loads and requests by route (`/users/:id` rather than one name per user) had this for every navigation but the first; now it has the first too. Nothing in production builds: `OBSERVE` is undefined there and the declaration folds out. Needs `solid-js` / `@solidjs/web` `2.0.0-rc.12` or later (`NavigationRef.initial`, `RenderEvent.route`), already inside the `^2.0.0-rc.13` peer range.

0 commit comments

Comments
 (0)