japgolly.scalajs.react.extra.router.StaticDsl$.Route
See theRoute companion object
case class Route[A](parse: Path => Option[A], pathFor: A => Path) extends RouteCommon[Route, A]
A Route translates a Path into an instance of model A and vice versa.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Prism map.
Prism map.
Some values of A can be turned into a Bs, some fail (in which case the route is considered non-matching).
All Bs can be turned back into As.
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- RouteCommon
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Exponential map.
Exponential map.
Any A can be turned into a B and vice versa.
Attributes
- Inherited from:
- RouteCommon
In this article