score:3

Accepted answer
<form onSubmit={submitHandler}>              
  <button type="submit">
    Login
  </button>              
</form>

score:1

<form>    
  <button onSubmit={submitHandler} type="button">
</form>

Related Query

More Query from same tag