trait Hooks extends Object

Annotations
@JSType() @native()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hooks
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  2. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  3. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  4. def toLocaleString(): String
    Definition Classes
    Object
  5. def useBlocker(blocker: Function1[UnblockingTx, Unit], when: UndefOr[Boolean] = js.undefined): Unit
  6. def useHref[S](to: |[LocationInit[S], String]): String
  7. def useLocation[S](): Location[S]

    Should not need to use this according to docs.

  8. def useMatch[S](to: |[LocationInit[S], String]): Boolean

    Use this to avoid Route entries everywhere.

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