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
Copy file name to clipboardExpand all lines: src/routes/solid-start/building-your-application/routing.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -178,8 +178,8 @@ They are defined using square brackets with `...` before the label for the route
178
178
```
179
179
180
180
A catch-all route will have one parameter which is a forward-slash delimited string of all the URL segments after the last valid segment.
181
-
For example, with the route `[..post]` and a URL path of `/post/foo` the `params` object returned from the `useParams` primitive will have a `post` property with the value of `foo`.
182
-
For a URL path of `/post/foo/baz` it will be `foo/baz`.
181
+
For example, with the route `[...post]` and a URL path of `/post/foo` the `params` object returned from the `useParams` primitive will have a `post` property with the value of `post/foo`.
182
+
For a URL path of `/post/foo/baz` it will be `post/foo/baz`.
0 commit comments