score:0

Accepted answer

form.batch is probably what you want. the formapi instance is provided by the <form/> component to the render prop.

<form onsubmit={submit}>
  {
    ({ handlesubmit, form }) => {
      // here we can do form.batch()
      return <form onsubmit={handlesubmit}>
        fields here
      </form>
  }
</form>

Related Query

More Query from same tag