trait React extends Object
- Annotations
- @RawJSType() @native() @nowarn( "cat=unused" )
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- React
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
Children: React.Children
React.Children provides utilities for dealing with the this.props.children opaque data structure.
- final val Fragment: Symbol
- final val Profiler: Symbol
-
final
val
SecretInternals: SecretInternals
- Annotations
- @JSName( ... )
- final val StrictMode: Symbol
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- final def cloneElement[P <: Object](element: ComponentElement[P], props: P, children: Node*): ComponentElement[P]
- final def cloneElement[P <: Object](element: ComponentElement[P], props: P): ComponentElement[P]
- final def cloneElement[P <: Object](element: ComponentElement[P]): ComponentElement[P]
- final def cloneElement(element: DomElement, props: Object, children: Node*): DomElement
- final def cloneElement(element: DomElement, props: Object): DomElement
- final def cloneElement(element: DomElement): DomElement
- final def createContext[A <: Any](defaultValue: A): Context[A]
- final def createElement[P <: Object](type: ComponentType[P], props: P, children: Node*): ComponentElement[P]
- final def createElement[P <: Object](type: ComponentType[P], props: P): ComponentElement[P]
- final def createElement[P <: Object](type: ComponentType[P]): ComponentElement[P]
- final def createElement(type: String, props: Object, children: Node*): DomElement
- final def createElement(type: String, props: Object): DomElement
- final def createElement(type: String): DomElement
- final def createElement(type: Symbol, props: Object, children: Node*): Element
- final def createElement[P <: Object](l: Lazy[P], props: P, children: Node*): Element
- final def createElement(s: Suspense.type, props: SuspenseProps, children: Node*): Element
-
final
def
createElement[A <: Any](contextConsumer: ComponentClass[Null, Null], props: Null, childrenFn: Function1[A, Node]): Element
React.createContext(...).Consumer
- final def createRef[A](): RefHandle[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def forwardRef[P <: Object, R](f: Function2[P with PropsWithChildren, ForwardedRef[R], Node]): ForwardRefComponent[P, R]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
lazy[P <: Object](f: Function0[Promise[LazyResult[P]]]): Lazy[P]
- Since
16.6.0
-
final
def
memo[P <: Object, A](f: Function1[P, A], areEqual: Function2[P, P, Boolean] = js.native): Object
- Since
16.6.0
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
- final val version: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.