Skip to content

0.0.103

Compare
Choose a tag to compare
@arv arv released this 02 Apr 22:35
· 38 commits to master since this release
  • 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.