Skip to main content

<FormState>

Retrieves form state.

If this component doesn't have a parent Form component, you must use the form and store properties to choose a form.

Properties

PropertyDescription
childrenRender function, receives a form's state
from or storeWhat store to retrieve state from.
formWhat form to retrieve state from.
selectA function that selects the required state.
throttleMilliseconds to throttle change requests
debounceMilliseconds to debounce change requests
debugWhen true, log messages regarding state changes will be printed to the console.
verboseWhen true, verbose log messages are printed to the console.
idDebug log uses this to identify components
onMountCalled with the current state when the component mounts.
onUnmountCalled with the current state when the component unmounts.
Live Editor
Result
Loading...