score:0

<button
  type="button"
  onClick={() => {
    form.reset(); <-------------
    this.setState({"reset": true});
  }}
  disabled={submitting || pristine}
>
  Reset
</button>

score:3

<button
  type="button"
  onClick={() => {
      form.reset();
      this.setState({"reset": true});
  }}
  disabled={submitting || pristine}
>
    Reset
</button>

Related Query

More Query from same tag