@JsType(isNative=true,
namespace="<global>",
name="React")
public final class React
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
Element
The Symbol type for Element.
|
static java.lang.Object |
Fragment
The Symbol type for Fragments.
|
static java.lang.Object |
Profiler
The Symbol type for Profiler.
|
static java.lang.Object |
StrictMode
The Symbol type for StrictMode.
|
static java.lang.Object |
Suspense
The Symbol type for Suspense.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
enableComponentNames()
Return true if components should have human readable names specified.
|
static boolean |
shouldCheckInvariants()
Return true if invariants will be checked.
|
static boolean |
shouldFreezeProps()
Return true if props should be frozen before being passed to react.
|
static boolean |
shouldMinimizePropKeys()
Return true if the prop keys should be minimized.
|
static boolean |
shouldStoreDebugDataAsState()
Return true if react state should be used to store debug data.
|
static boolean |
shouldValidatePropValues()
Return true if the prop value should be validated when initially set or when changed.
|
@JsProperty(name="Fragment") public static java.lang.Object Fragment
@JsProperty(name="StrictMode") public static java.lang.Object StrictMode
@JsProperty(name="Suspense") public static java.lang.Object Suspense
@JsProperty(name="unstable_Profiler") public static java.lang.Object Profiler
@JsProperty(name="Element") public static java.lang.Object Element
@JsOverlay public static boolean enableComponentNames()
@JsOverlay public static boolean shouldMinimizePropKeys()
@JsOverlay public static boolean shouldValidatePropValues()
@JsOverlay public static boolean shouldStoreDebugDataAsState()
@JsOverlay public static boolean shouldCheckInvariants()
@JsOverlay public static boolean shouldFreezeProps()