yewstack/yew_router

Add descriptive doc comment for Switch macro.

hgzimmerman opened this issue · 0 comments

Description

The exact semantics of the Switch macro and the syntax present in the to attribute can be hard to understand without a more detailed guide.

The examples are somewhat adequate, but a full-fledged 200ish line explanation of finer details of how the macro works would be a good resource to point library users towards.