object module extends Object with Hooks with Utils

Annotations
@native() @JSImport("react-router", JSImport.Namespace)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. module
  2. Utils
  3. Hooks
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def createRoutesFromChildren(children: UndefOr[Any] = js.undefined): Array[Any]
    Definition Classes
    Utils
  2. def generatePath(pathname: String, params: |[Dictionary[String], Object]): String
    Definition Classes
    Utils
  3. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  4. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  5. def matchRoutes[S](routes: RouteSpec, location: |[Location[S], String], basename: UndefOr[String] = js.undefined, caseSensitive: UndefOr[Boolean] = js.undefined): |[Location[S], Null]
    Definition Classes
    Utils
  6. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  7. def resolveLocation[S](to: |[Location[S], String], fromPathName: String): Location[S]
    Definition Classes
    Utils
  8. def toLocaleString(): String
    Definition Classes
    Object
  9. def useBlocker(blocker: Function1[UnblockingTx, Unit], when: UndefOr[Boolean] = js.undefined): Unit
    Definition Classes
    Hooks
  10. def useHref[S](to: |[LocationInit[S], String]): String
    Definition Classes
    Hooks
  11. def useLocation[S](): Location[S]

    Should not need to use this according to docs.

    Should not need to use this according to docs.

    Definition Classes
    Hooks
  12. def useMatch[S](to: |[LocationInit[S], String]): Boolean

    Use this to avoid Route entries everywhere.

    Use this to avoid Route entries everywhere.

    Definition Classes
    Hooks
  13. def useNavigate[S](): NavigateAction[S]
    Definition Classes
    Hooks
  14. def useOutlet(): ReactNode
    Definition Classes
    Hooks
  15. def useParams[P](): P
    Definition Classes
    Hooks
  16. def useResolvedLocation[S](to: |[LocationInit[S], String]): Location[S]
    Definition Classes
    Hooks
  17. def useRoutes(routes: RouteSpec, basename: UndefOr[String] = js.undefined, caseSensitive: UndefOr[Boolean] = js.undefined): ReactNode
    Definition Classes
    Hooks
  18. def valueOf(): Any
    Definition Classes
    Object