2.0.0
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.