Skip to content

Commit

Permalink
Update 16_routes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Jul 10, 2024
1 parent 5b7a123 commit 7074564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/16_routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use leptos_router::*;

## Providing the `<Router/>`

Routing behavior is provided by the [`<Router/>`](https://docs.rs/leptos_router/latest/leptos_router/fn.Router.html) component. This should usually be somewhere near the root of your application, the rest of the app.
Routing behavior is provided by the [`<Router/>`](https://docs.rs/leptos_router/latest/leptos_router/fn.Router.html) component. This should usually be somewhere near the root of your application, wrapping the rest of the app.

> You shouldn’t try to use multiple `<Router/>`s in your app. Remember that the router drives global state: if you have multiple routers, which one decides what to do when the URL changes?
Expand Down

0 comments on commit 7074564

Please sign in to comment.