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
@@ -129,3 +138,27 @@ To get the right breadcrumbs, simply change the order:
129
138
```
130
139
131
140
Now, `/users/create` will match the create breadcrumb first, and all others will fall through to `/:id`.
141
+
142
+
## Dynamic Breadcrumbs
143
+
React Router's [location](https://reacttraining.com/react-router/web/api/location) object let's you pass `state` property. Using the `state` allows one to update the Breadcrumb to display dynamic info at runtime. Consider this example:
0 commit comments