react_router6.dom
package react_router6.dom
Type members
Classlikes
case
object BuildInfo
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
@JSType
More specific types when returning from useLocation
.
More specific types when returning from useLocation
.
- Companion
- object
@JSType
Like Location but everything is optional.
Like Location but everything is optional.
- Companion
- object
Types
type RoutePreloadFunction[S] = Function3[Dictionary[String] | Object | Dynamic, Location[S], Int, Unit]
Value members
Concrete methods
@native @JSImport("react-router-dom", "matchRoutes")
def matchRoutes[S](routes: RouteSpec, location: Location[S] | String, basename: UndefOr[String], caseSensitive: UndefOr[Boolean]): Location[S] | Null
@native @JSImport("react-router-dom", "useLocation")
Should not need to use this according to docs.
Should not need to use this according to docs.
@native @JSImport("react-router-dom", "useMatch")
Use this to avoid Route entries everywhere.
Use this to avoid Route entries everywhere.