switch-router [](https://github.com/kellpossible/switch-router/actions?query=workflow%3ARust)

August 11, 2020 ยท View on GitHub

An alternate version of the yew RouteService, which aims to provide a more type safe API for setting routes, a SwitchRoute trait which can easily be implemented manually on a type. This library provides an abstraction trait for the routing service called SwitchRouteService that has two implementations:

  • WebRouteService - a fork of yew-router's RouteService, with a simpler internal implementation by dropping support for stdweb.
  • SimpleRouteService - an implementation that does not rely on web APIs, useful for developing desktop applications with web-view.