WithFallbackF

japgolly.scalajs.react.extra.router.RoutingRule$.WithFallbackF
final case class WithFallbackF[F[_], Page, Props](rule: RoutingRule[Page, Props], fallbackPath: Page => Path, fallbackAction: (Path, Page) => ActionF[F, Page, Props])(implicit F: Sync[F])

Exhaustive routing rules. For all Pages there are Paths and Actions.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def notFound(whenNotFound: Path => Parsed[Page]): RouterWithPropsConfigF[F, Page, Props]

Specify a catch-all response to unmatched/invalid routes.

Specify a catch-all response to unmatched/invalid routes.

Attributes

def notFoundDynamic(whenNotFound: Path => F[Parsed[Page]]): RouterWithPropsConfigF[F, Page, Props]

Specify a catch-all response to unmatched/invalid routes.

Specify a catch-all response to unmatched/invalid routes.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product