title: Not assignable to type IntrinsicAttributes & IntrinsicClassAttributes React.js
body: <p>I have been working with <code>react.js</code> for a while. Recently, i start seeing an error like:</p>
  
  <pre><code>Type '{}' is not assignable to type 'IntrinsicAttributes &amp; IntrinsicClassAttributes'
  </code></pre>
  
  <p>I don't know what's going on. I googled about it and what i found other's saying about is that it is an issue with <code>props</code>. Here is a scenario that i saw. Rather than:</p>
  
  <pre><code>&lt;MyComponent action={this.state.action} /&gt;
  </code></pre>
  
  <p>the following work's fine:</p>
  
  <pre><code>&lt;MyComponent {...props} /&gt;
  </code></pre>
  
  <p>I want to understand this thing that what is <code>IntrinsicAttributes</code> and <code>IntrinsicClassAttributes</code> in <code>react</code>. Can you please provide me a detailed answer that why such type of error occures and what are these really?</p>