Black Lives Matter. Support Equal Justice.
Types

MutableState


MutableState

Unless you're writing a Mutator, ignore this document.

MutableState is an object containing the following values:

formState

InternalFormState

An object very similar to FormState.

fields

{ [string]: InternalFieldState }`

An object of values very similar to FieldState. Note that the fields are kept in a flat structure, so a "deep" field like "shipping.address.street" will be at the key "shipping.address.street", with the dots included.

fieldSubscribers

Object

An object of field subscribers.

lastFormState

InternalFormState

The last form state sent to form subscribers. The object very similar to FormState.