title: Are react JS attributes different from properties?
body: <p>I'm reading the react JS documentation and came across this:</p>
  
  <p><strong>Specifying Attributes with JSX</strong>:</p>
  
  <p><code>You may use quotes to specify string literals as attributes:
  const element = &lt;div tabIndex="0"&gt;&lt;/div&gt;;</code></p>
  
  <p>I'm fairly comfortable with javascript but I'm not quite sure what the documentation means by "attributes". I know about object properties but this looks like a simple variable. </p>
  
  <p>What exactly is a react js attribute if it is different from a property? </p>