A router for Yew which supports nesting.
This is an early state, born out of the necessity to have a replacement for the old Yew router (which) supported nesting, but relies on Yew actors, which is mostly gone in Yew 0.20.
Compared to ctron/yew-router (which is a backport of the old Yew router to a newer Yew version), this project is a complete rewrite. So it will not be a drop-in replacement, and might behave differently.
The following things have to be done before a release makes sense:
/application/{applications}/device/{device}/settings
).derive
, or macro.This is not a drop-in replacement for the old Yew router. This section briefly describes which choices this implementation made:
/
) into segments.Also see a complete example: examples/yew-nested-router-example, which you can run using:
shell
trunk serve examples/yew-nested-router-example/index.html