Skip to content

2.0.0

Compare
Choose a tag to compare
@ncpa0cpl ncpa0cpl released this 25 Jul 09:39
· 370 commits to master since this release

Changes

Features:

  • null, undefined and boolean values are now treated as valid component children (this allows for conditional rendering with simpler syntax E.g. {condition && <div />})
  • refactored typings to allow for extending base html props

Bug-fixes:

  • null and undefined attributes are now correctly handled (previously those were treated same as true E.g. JSX <div hidden={undefined} /> would get parsed to this html <div hidden />, now it's correctly being ignored)

BREAKING CHANGES

As the typings were being refactored, some type names changed and some of the typings were moved from the JSX namespace into the JSXTE namespace.