I have a React app with a form to enter an email and a password. Here I\'m not using an HTML form element, hence I use a javascript validation to check the email validity ov