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
You should ensure that all dynamic segments in a given path are unique. Otherwise, as the `params` object is populated - latter dynamic segment values will override earlier values.
267
+
266
268
## Optional Segments
267
269
268
270
You can make a route segment optional by adding a `?` to the end of the segment.
Copy file name to clipboardExpand all lines: docs/start/library/routing.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,8 @@ export default function Team() {
168
168
}
169
169
```
170
170
171
+
You should ensure that all dynamic segments in a given path are unique. Otherwise, as the `params` object is populated - latter dynamic segment values will override earlier values.
172
+
171
173
## Optional Segments
172
174
173
175
You can make a route segment optional by adding a `?` to the end of the segment.
0 commit comments