public final class ReactConfig
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkComponentStateInvariants()
Return true if we should check that the user interacts with React component in a way compatible with the state.
|
static boolean |
enableComponentNames()
Return true if components should have human readable names specified.
|
static boolean |
isProductionMode()
Return true if in production mode.
|
static boolean |
shouldCheckInvariants()
Return true if invariants will be checked.
|
static boolean |
shouldMinimizePropKeys()
Return true if the prop keys should be minimized.
|
static boolean |
shouldValidatePropValues()
Return true if the prop value should be validated when initially set or when changed.
|
public static boolean isProductionMode()
public static boolean enableComponentNames()
public static boolean shouldMinimizePropKeys()
public static boolean shouldValidatePropValues()
public static boolean checkComponentStateInvariants()
public static boolean shouldCheckInvariants()