Skip to content

v3.0.3

Choose a tag to compare

@insin insin released this 02 May 06:51
· 11 commits to master since this release

Added:

  • Support use of boolean HTML attributes by removing StringLiteral values from them, as the presence of the HTML attribute is equivalent to true.
  • Support transforming StringLiteral values to JSXExpressions for all numeric HTML attributes, not just the ones we're also transforming the names of.

Changed:

  • Don't try to validate numeric HTML attribute values per the HTML spec, just go with it if they can be parsed by Number()