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: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,13 @@ export default function App() {
218
218
219
219
The colon indicates that `id` can be any string, and as long as the URL fits that pattern, the `User` component will show.
220
220
221
-
You can then access that `id` from within a route component with `useParams`:
221
+
You can then access that `id` from within a route component with `useParams`.
222
+
223
+
> **Note on Animation/Transitions**:
224
+
> Routes that share the same path match will be treated as the same route. If you want to force re-render you can wrap your component in a keyed `<Show>` like:
0 commit comments