Problem
When using define_router_state() with yew_router only Route and RouteService get defined, the cfg feature test does not work because the macro generates code in our own crate rather than the yew_router crate, and is therefore looking at the wrong features.
Problem
When using define_router_state() with yew_router only
RouteandRouteServiceget defined, the cfg feature test does not work because the macro generates code in our own crate rather than the yew_router crate, and is therefore looking at the wrong features.