API

Parcel is a data container.

Its job is to hold your data, split it into smaller parts, and merge changes back together.

ParcelBoundary is a React component.

Its job is to optimise rendering performance, and to optionally configure the behaviour of individual inputs.

useParcelForm is a React hook.

Its job is to make submittable forms easy to build. It provides a parcel stored in state and a buffer to store unsaved changes, and also handles how the parcel responds to changes in React props.

useParcelState is a React hook.

Its job is to provide a parcel stored in state, and to handle how the parcel responds to changes in React props.

See also

Deprecated