Formand know it precisely. You are not the one to handle the form functionality, the form library should.
Formcomponent, define the fields you need and it works. No obscure fields definition somewhere else, no strange handlers you need to write, no tons of documentation to read. Forms are meant to be simple to use.
contextin my application?
createFieldhigh-order component to get all the necessary props of the field you are about to style.
onChangeprops to the fields. This will make them controllable by you, and React Advanced Form will no longer be in charge of updating their value. You would still benefit from all the features of React Advanced Form in this case.
actionmust always return a
actionspecified at all, handling the submit manually. You still benefit from all the features of React Advanced Form in this case.