- Move runtime into modules. This is in preparation for allowing importing the runtime as
modules in the future.
- JSX: Tag name starting with an uppercase should use identifier.
<Abc/>
should generate React.createElement(Abc, null)
and not React.createElement('Abc', null)
.
- JSX: Support boolean shorthand attributes.
<a b/>
is short for <a b={true}/>
.
- JSX: Add support for JSXSpreadAttribute. This allows spreading an object into props/attributes:
<p a='a' {...{b: 1, c: 2}}/>
// same as (except the expansion happens at runtime)
<p a='a' b={1} c={2}/>
- Update commander and glob dependencies.