- pauseUntilRenderLoopComplete() - Static method in class react4j.internal.arez.SchedulerUtil
-
The first time an arez component is rendered it will lock the Arez scheduler and release
the lock in the micro-task immediately following the task that prompted the render.
- populateDebugData(JsPropertyMap<Object>) - Method in class react4j.Component
-
Populate the state parameter with any data that is useful when debugging the component.
- PostMount - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is mounted or attatched to the DOM.
- PostMountOrUpdate - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is rendered.
- PostUpdate - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is updated or re-rendered.
- PreUpdate - Annotation Type in react4j.annotations
-
Identifies a method that is called before a component is updated or re-rendered.
- Profiler - Static variable in class react4j.React
-
The Symbol type for Profiler.
- Prop - Annotation Type in react4j.annotations
-
Annotation used to specify an abstract method that returns a prop.
- PropDefault - Annotation Type in react4j.annotations
-
Annotation used to specify the default value for a prop.
- PropRef - Annotation Type in react4j.annotations
-
Annotation used to associate a parameter with a prop on a method annotated with
OnPropChange
.
- props() - Method in class react4j.Component
-
Return the component props from the native component.
- props() - Method in class react4j.internal.NativeComponent
-
- props() - Method in class react4j.ReactElement
-
- PropValidate - Annotation Type in react4j.annotations
-
Identifies method that is called when the prop value is specified or changes.
- provider() - Method in class react4j.Context
-
Create a builder for the Provider component.
- Provider - Static variable in class react4j.React
-
The Symbol type for Provider.
- SCHEDULED - Static variable in class react4j.internal.arez.ComponentState
-
The component needs to be re-rendered, a dependency has updated.
- scheduleRender() - Method in class react4j.Component
-
Schedule this component for re-rendering skipping the shouldComponentUpdate()
lifecycle method.
- scheduleRender(boolean) - Method in class react4j.Component
-
Schedule this component for re-rendering.
- SchedulerUtil - Class in react4j.internal.arez
-
Utilities for interacting with the Arez scheduler.
- setKey(String) - Method in class react4j.ReactElement
-
- setProps(JsPropertyMap<Object>) - Method in class react4j.ReactElement
-
- setState(JsPropertyMap<Object>) - Method in class react4j.internal.NativeComponent
-
- shouldCheckInvariants() - Static method in class react4j.React
-
Return true if invariants will be checked.
- shouldComponentUpdate(JsPropertyMap<Object>) - Method in interface react4j.internal.OnShouldComponentUpdate
-
- shouldFreezeProps() - Static method in class react4j.React
-
Return true if props should be frozen before being passed to react.
- shouldMinimizePropKeys() - Static method in class react4j.React
-
Return true if the prop keys should be minimized.
- shouldStoreDebugDataAsState() - Static method in class react4j.React
-
Return true if react state should be used to store debug data.
- shouldValidatePropValues() - Static method in class react4j.React
-
Return true if the prop value should be validated when initially set or when changed.
- state() - Method in class react4j.internal.NativeComponent
-
- storeDebugDataAsState() - Method in class react4j.Component
-
Store debug data on the state object of the native component.
- StrictMode - Static variable in class react4j.React
-
The Symbol type for StrictMode.
- SuppressReact4jWarnings - Annotation Type in react4j.annotations
-
Indicate that the named React4j compiler warnings should be suppressed in the
annotated element (and in all program elements contained in the annotated
element).
- Suspense - Static variable in class react4j.React
-
The Symbol type for Suspense.