reactJs on IE9 throwing errors
<p>I managed to create a login form using <code>reactJs</code> :
<a href="https://jsbin.com/qehifu/1" rel="nofollow noreferrer">https://jsbin.com/qehifu/1</a></p>
<p>I get this error on <code>IE9</code> (works fine on Chrome):</p>
<blockquote>
<p>SCRIPT5007 : Unable to get the property value &quot;remove&quot;: null object or undefined</p>
<p>SCRIPT5007 : Unable to get the property value &quot;add&quot;: null object or undefined</p>
</blockquote>
<pre><code>    isValid: function (input) {
    //check required field
    if (input.getAttribute('required') != null &amp;&amp; input.value ===&quot;&quot;) {
        input.classList.add('error'); //add class error
        input.nextSibling.textContent = this.props.messageEmail; // show error message
        return false;
    }
    else {
        input.classList.remove('error');
        input.nextSibling.textContent = &quot;&quot;;

        //rest of the file...

    }
</code></pre>
<p>can you guys help ? thanks</p>