diff --git a/website/docs/concepts/router.md b/website/docs/concepts/router.md index 17c6c5f5c50..b04bc7c58b0 100644 --- a/website/docs/concepts/router.md +++ b/website/docs/concepts/router.md @@ -44,10 +44,13 @@ current URL and passes it to the `render` callback. The callback then decides wh matched, the router navigates to the path with `not_found` attribute. If no route is specified, nothing is rendered, and a message is logged to console stating that no route was matched. -Finally, you need to register the `` component as a context. -`` provides location information and navigator to its children. +Finally, you need to register one of the Router context provider components like ``. +It provides location information and navigator to its children. -When using `yew-router` in browser environment, `` is recommended. +:::caution +When using `yew-router` in browser environment, `` is highly recommended. +You can find other router flavours in the [API Reference](https://docs.rs/yew-router/). +::: ```rust use yew_router::prelude::*;