HTML to JSX

Steps

  1. All prop names follow camelCase capitalization.

  2. Number attributes are curly braces

  3. Booleans of ‘true’ can be written with just the property name

  4. The ‘class’ attribute is written as ‘className’

  5. In-line styles are provided as objects

Further Information