japgolly.scalajs.react.extra.router.RoutingRulesF
See theRoutingRulesF companion object
final case class RoutingRulesF[F[_], Page, Props](parseMulti: Path => List[StaticOrDynamic[Option[Parsed[Page]]]], path: Page => Path, actionMulti: (Path, Page) => List[StaticOrDynamic[Option[ActionF[F, Page, Props]]]], fallbackAction: (Path, Page) => ActionF[F, Page, Props], whenNotFound: Path => F[Parsed[Page]])(implicit F: Sync[F])
A complete set of routing rules that allow the router to handle every all routes without further input.
Type parameters
- Page
-
The type of legal pages. Most commonly, a sealed trait that you've created, where all subclasses represent a page in your SPA.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article