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
I found it hard to find information about how to access query parameter values in the docs. Adding a short paragraph about it to the "Introduction" guide could help others avoid having to dig deeper for it.
You can also access parameters from the query string. If you for instance visit `/foo?bar=baz`, you can access `this.props.location.query.bar` to get the value `"baz"` from your Route component.
225
+
224
226
That's the gist of React Router. Application UIs are boxes inside of boxes inside of boxes; now you can keep those boxes in sync with the URL and link to them easily.
225
227
226
228
The docs about [route configuration](/docs/basics/RouteConfiguration.md) describe more of the router's features in depth.
0 commit comments