I'm updating a SPA from 0.3 to 0.4 and I'm stuck trying to put together a nested Route enum. Please excuse the brain farts as I'm jetlagged and taken two weeks off.
I see #[child] in Routable at https://docs.rs/dioxus-router/latest/dioxus_router/prelude/derive.Routable.html However this leads to compile errors (it expects parameters) so the example look wrong.
If I use #[nested("/asdf")] then I have to define all the sub-routes in the parent Routable as well as all the views (by views I mean the #[inline_props] fns). So how should I compose a SPA app?
I also think this would lead to a circular dependency since any part of the app should be able to build a Route for a link but that means a dependency on the top-level app itself. How is this resolved?
Derives the Routable trait for an enum of routes