We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6390ad2 commit 587f47dCopy full SHA for 587f47d
contributors.yml
@@ -355,3 +355,4 @@
355
- yuleicul
356
- zeromask1337
357
- zheng-chuang
358
+- HK-SHAO
docs/start/library/routing.md
@@ -181,7 +181,7 @@ You can make a route segment optional by adding a `?` to the end of the segment.
181
You can have optional static segments, too:
182
183
```tsx
184
-<Route path="users/:userId/edit?" component={<User />} />
+<Route path="users/:userId/edit?" element={<User />} />
185
```
186
187
## Splats
0 commit comments