Open
Description
This is about:
- A typo
- Innaccurate/misleading documentation (e.g. technically incorrect advice)
- Undocumented code
- Outdated documentation
- Other
Problem
When copying https://yew.rs/docs/next/concepts/router into an editor, I get:
the trait bound `yew_router::Switch<Route>: yew::Component` is not satisfied
the trait `yew::Component` is implemented for `ContextProvider<T>`
required for `yew_router::Switch<Route>` to implement `yew::BaseComponent`
I use latest version of all packages.
Maybe it would be good to either always compile the example code as part of a release or be more specific with which versions that example code used to work.