japgolly.scalajs.react.extra

router

package router

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. router
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class AbsUrl(value: String) extends Product with Serializable

    An absolute URL.

  2. sealed trait ApprovedPath[P] extends AnyRef

    A valid path in route set P.

  3. final case class BaseUrl(value: String) extends Product with Serializable

    The prefix of all routes in a set.

    The prefix of all routes in a set.

    The router expects this to be a full URL. Examples: BaseUrl("http://www.blah.com/hello"), BaseUrl.fromWindowOrigin / "hello".

  4. final case class DynamicLocation[P] extends ApprovedPath[P] with Product with Serializable

    A dynamically-generated route presumed by the routing rules to be correct.

  5. final case class Location[P] extends RouteAction[P] with ApprovedPath[P] with Product with Serializable

  6. final case class Path(value: String) extends Product with Serializable

    The portion of the url after the japgolly.scalajs.react.extra.router.BaseUrl.

  7. implicit final class ReactRouteCmdExt[P, A] extends AnyVal

  8. implicit final class ReactRouteIOExt[A] extends AnyVal

  9. implicit final class ReactRouteProgExt[P, A] extends AnyVal

  10. final case class Redirect[P] extends RouteAction[P] with Product with Serializable

  11. type Renderer[P] = (Router[P]) ⇒ ReactElement

  12. sealed trait RouteAction[P] extends AnyRef

  13. sealed trait RouteCmd[+P, A] extends AnyRef

  14. type RouteProg[P, A] = Free[[x]Coyoneda[[α]RouteCmd[P, α], x], A]

    Free monad & free functor over route commands.

  15. final class Router[P] extends Broadcaster[Unit]

    Performs all routing logic.

    Performs all routing logic.

    P

    Routing rules context. Prevents different routing rule sets being mixed up.

  16. trait RoutingRules extends AnyRef

    DSL for specifying a set of routing rules.

Value Members

  1. object AbsUrl extends Serializable

  2. object BaseUrl extends Serializable

  3. object Location extends Serializable

  4. object Redirect extends Serializable

  5. object RouteCmd

  6. object Router

  7. implicit def reactAutoLiftRouteProg[P, A](c: RouteCmd[P, A]): RouteProg[P, A]

  8. implicit def routeChangeFilter[P]: ChangeFilter[Location[P]]

Inherited from AnyRef

Inherited from Any

Ungrouped