- 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.
- prop(String, Object) - Method in class react4j.ReactElement
-
- Prop.Source - Enum in react4j.annotations
-
Enum where the prop is sourced from.
- 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.
- React - Class in react4j
-
Native interface to native runtime for creating component.
- react4j - package react4j
-
Core React4j API.
- react4j.annotations - package react4j.annotations
-
This package contains annotations used by the annotation processor.
- react4j.internal - package react4j.internal
-
React4j internal support code.
- react4j.internal.arez - package react4j.internal.arez
-
React4j internal support code for Arez aspect.
- ReactComponent - Annotation Type in react4j.annotations
-
Annotation used to annotate a React component.
- ReactComponent.Type - Enum in react4j.annotations
-
Enum indicating type of component.
- ReactElement - Class in react4j
-
Element represents either a component or a host component.
- ReactElement() - Constructor for class react4j.ReactElement
-
- ReactErrorInfo - Class in react4j
-
- ReactErrorInfo() - Constructor for class react4j.ReactErrorInfo
-
- ReactNode - Interface in react4j
-
Union type representing possible output of render method.
- ReactTestUtil - Class in react4j
-
Utility class for interacting with React4j in tests.
- register(Class<T>) - Static method in class react4j.Contexts
-
Register the context with the specified type, an empty "" qualifier and a null default value.
- register(Class<T>, T) - Static method in class react4j.Contexts
-
Register the context with the specified type, an empty "" qualifier and a default value.
- register(Class<T>, String) - Static method in class react4j.Contexts
-
Register the context with the specified type, qualifier and a null default value.
- register(Class<T>, String, T) - Static method in class react4j.Contexts
-
Register the context with the specified type, qualifier and a default value.
- render() - Method in class react4j.Component
-
Render the component.
- render(Context.ConsumerRenderFunction<ST>) - Method in class react4j.Context.ConsumerBuilder
-
Specify the child render function.
- render(T) - Method in interface react4j.Context.ConsumerRenderFunction
-
Render the specified tree for context value.
- render() - Method in class react4j.internal.NativeComponent
-
- resetConfig(boolean) - Static method in class react4j.ReactTestUtil
-
Reset the state of React config to either production or development state.
- 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.
- setComponentEnableNames(boolean) - Static method in class react4j.ReactTestUtil
-
Configure the `react4j.enable_component_names` setting.
- 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.
- storeDebugDataAsState() - Static method in class react4j.ReactTestUtil
-
Set the `react4j.store_debug_data_as_state` setting to true
.
- 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.