title: button onClick doesn't work when disabled=True is initialized (Reactjs)
body: <p>I have a button which I initialize as disabled that I enable when another event happens.
  But when I click on it the onClick function isn't called.</p>
  <pre><code>&lt;div className='button-parent'&gt;
      &lt;button id=&quot;saveButton&quot; type=&quot;button&quot; onClick={updateBill} disabled={true} className=&quot;button&quot;&gt;Save&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I have the opacity change when it's enabled, so I'm sure it's enabled when I try to press it and it doesn't work.</p>
  <p>I'm sure the function is fine as when I add the onClick to the parent element, it works fine.</p>