An onSubmit function for use in an update form that connects to a GraphQL API.
onSubmit
A partial form state that contains at least formValues and formChanged.
formValues
formChanged
A function that performs the update (e.g. makes an API request) and returns errors. Only the changed form values are passed to the applyUpdate function.
applyUpdate
An
onSubmitfunction for use in an update form that connects to a GraphQL API.