object React

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

Type Members

  1. type Context[A] = feature.Context[A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Context: feature.Context.type
  5. val Fragment: ReactFragment.type
  6. val Profiler: feature.Profiler.type
  7. def StrictMode(ns: VdomNode*): VdomElement

    StrictMode is a tool for highlighting potential problems in an application.

    StrictMode is a tool for highlighting potential problems in an application. Like Fragment, StrictMode does not render any visible UI. It activates additional checks and warnings for its descendants.

    Strict mode checks are run in development mode only; they do not impact the production build.

    Since

    1.3.0 / React 16.3.0

  8. def Suspense[F[_], A](fallback: VdomNode, asyncBody: => F[A])(implicit ev: (A) => VdomElement, F: Async[F]): VdomElement

    Displays a fallback view until an asynchronous view becomes available.

    Displays a fallback view until an asynchronous view becomes available.

    See https://reactjs.org/docs/code-splitting.html#suspense

    Since

    1.4.0 / React 16.6.0

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def createContext[A](displayName: String, defaultValue: A): Context[A]

    Create a new context with a displayName.

    Create a new context with a displayName.

    If you'd like to retain type information about the JS type used under-the-hood with React, use React.Context(displayName, defaultValue) instead.

    Since

    2.0.0 / React 17.0.0

  12. def createContext[A](defaultValue: A): Context[A]

    Create a new context.

    Create a new context.

    If you'd like to retain type information about the JS type used under-the-hood with React, use React.Context(defaultValue) instead.

    Since

    1.3.0 / React 16.3.0

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def forwardRef: ReactForwardRef

    Ref forwarding is an opt-in feature that lets some components take a ref they receive, and pass it further down (in other words, "forward" it) to a child.

    Ref forwarding is an opt-in feature that lets some components take a ref they receive, and pass it further down (in other words, "forward" it) to a child.

    See https://reactjs.org/docs/forwarding-refs.html

    Annotations
    @inline()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. lazy val majorVersion: Int
  21. def memo[P, CT[-p, +u] <: CtorType[p, u]](c: internal.CoreGeneral.ScalaFnComponent[P, CT])(implicit r: Reusability[P], s: Summoner[Box[P], React.memo.CT.ChildrenType]): internal.CoreGeneral.GenericComponent[P, CT, Unmounted[Box[P], Null]]

    Class components can bail out from rendering when their input props are the same using shouldComponentUpdate.

    Class components can bail out from rendering when their input props are the same using shouldComponentUpdate. Now you can do the same with function components by wrapping them in React.memo.

    Since

    1.4.0 / React 16.6.0

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def raw: React
    Annotations
    @inline()
  26. def startTransition[F[_]](callback: => F[Unit])(implicit F: Sync[F]): F[Unit]

    Similar to useTransition but allows uses where hooks are not available.

    Similar to useTransition but allows uses where hooks are not available.

    callback

    A _synchronous_ function which causes state updates that can be deferred.

    Since

    2.2.0 / React 18.0.0

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def version: String
    Annotations
    @inline()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped