p

react_router6

package react_router6

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. react_router6
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package dom

Type Members

  1. type Hash = String
  2. trait Hooks extends Object
    Annotations
    @JSType() @native()
  3. trait Location[+S] extends Object

    A simplified but overlapping version from the DOM lib per the js package 'history'

    A simplified but overlapping version from the DOM lib per the js package 'history'

    Annotations
    @JSType() @native()
  4. implicit class Location2LocationDescriptor[S] extends AnyRef

    LocationDescriptor is Location but all vars are optional.

  5. trait LocationInit[+S] extends Object with NavigateProps

    Like Location but everything is optional.

    Like Location but everything is optional.

    Annotations
    @JSType()
  6. type LocationKey = String
  7. trait NavigateAction[S] extends Object
    Annotations
    @JSType() @native()
  8. trait NavigateOptions[S] extends Object
    Annotations
    @JSType()
  9. trait NavigateProps extends Object
    Annotations
    @JSType()
  10. type Pathname = String
  11. type RouteSpec = Array[|[RouteSpecElement, RouteSpecRouteTo]]
  12. trait RouteSpecElement extends Object

    Very similar to what you provide to the Route component.

    Very similar to what you provide to the Route component.

    Annotations
    @JSType()
  13. trait RouteSpecRouteTo extends Object
    Annotations
    @JSType()
  14. type Search = String
  15. trait UnblockingTx extends Object
    Annotations
    @JSType() @native()
  16. trait Utils extends Object
    Annotations
    @JSType() @native()

Value Members

  1. def useBlocker(blocker: Function1[UnblockingTx, Unit], when: UndefOr[Boolean] = js.undefined): Unit
  2. def useHref[S](to: |[LocationInit[S], String]): String
  3. def useLocation[S](): Location[S]
  4. def useMatch[S](to: |[LocationInit[S], String]): Boolean
  5. def useNavigate[S](): NavigateAction[S]
  6. def useOutlet(): ReactNode
  7. def useParams[P](): P
  8. def useResolvedLocation[S](to: |[LocationInit[S], String]): Location[S]
  9. def useRoutes(routes: RouteSpec, basename: UndefOr[String] = js.undefined, caseSensitive: UndefOr[Boolean] = js.undefined): ReactNode
  10. object LocationInit
  11. object MemoryRouter
  12. object Navigate
  13. object Outlet
  14. object Route
  15. object Router
  16. object Routes
  17. object module extends Object with Hooks with Utils
    Annotations
    @native() @JSImport("react-router", JSImport.Namespace)

Inherited from AnyRef

Inherited from Any

Ungrouped