title: Is there a way to disable the warnings "Invalid event handler property `onclick`" of React?
body: <p>I'm building a webapp with React where I need to display some ads. The problem is as follows:</p>
  
  <p>I need to display these ads inside a React component, I've been give the html code of these ads and they work fine (So far) but they throw a big warning:</p>
  
  <pre><code>    index.js:1375 Warning: Invalid event handler property `onclick`. Did you mean `onClick`?
          in a (at ad-display.component.jsx:4)
  </code></pre>
  
  <p>I do know that the reason of the warning is the onclick property that should be onClick instead, however I don't want to mess up with the original HTML code that has been given to me, in case it would affect my client's revenue</p>
  
  <p>The code of the ad is a simple a tag:</p>
  
  <pre><code>    &lt;a onclick="setSomething(event, this)" href="http://coollink.com" id="rt_aff_banner_514" border="0" target="_blank"&gt;&lt;img border="0" src="https://coolimage/1543860030.png"/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>So I was wondering if there is a way to disable these warning, cause it's getting very dificult to debug with them.</p>
  
  <p>Also, feel free to scold me if the way I'm doing this is all wrong and I would need to insert this html code in any other way into my React code</p>
  
  <p>Thanks in advance!</p>