object ReactDOM

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def flushSync[F[_], A](fa: F[A])(implicit F: Sync[F]): F[A]
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val raw: facade.ReactDOM.type
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def version: String
    Annotations
    @inline()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def createPortal(child: NotAllowed, container: Any): Nothing
    Annotations
    @deprecated
    Deprecated

    (Since version ) Import vdom and use ReactPortal()

  2. def findDOMNode(componentOrElement: |[Element, ComponentUntyped]): Option[Mounted]

    For mounted components, use .getDOMNode

    For mounted components, use .getDOMNode

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference.

  3. def hydrate[A](element: A, container: facade.ReactDOM.Container)(implicit r: Renderable[A]): ComponentUntyped
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use ReactDOMClient.hydrateRoot instead

  4. def hydrate[G[_], A](element: A, container: facade.ReactDOM.Container, callback: => G[Unit])(implicit G: Dispatch[G], r: Renderable[A]): ComponentUntyped
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use ReactDOMClient.hydrateRoot instead

  5. def hydrateOrRender[A](element: A, container: Element)(implicit r: Renderable[A]): ComponentUntyped

    Hydrate the container if is has children, else render into that container.

    Hydrate the container if is has children, else render into that container.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use ReactDOMClient.hydrateOrRenderIntoNewRoot instead

  6. def hydrateOrRender[G[_], A](element: A, container: Element, callback: => G[Unit])(implicit G: Dispatch[G], r: Renderable[A]): ComponentUntyped

    Hydrate the container if is has children, else render into that container.

    Hydrate the container if is has children, else render into that container.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use ReactDOMClient.hydrateOrRenderIntoNewRoot instead

  7. def render(element: NotAllowed, container: Any, callback: Any = null): Nothing
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use ReactDOMClient.createRoot and root.render instead

  8. def unmountComponentAtNode(container: Node): Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0 / React v18) Use root.unmount() instead

Inherited from AnyRef

Inherited from Any

Ungrouped