Skip to content

v0.3.0

Choose a tag to compare

@trusktr trusktr released this 02 Dec 16:49

NOTE: This version was unpublished from NPM, and a needed fix was released in 0.3.2. Use ^0.3.2.

BREAKING CHANGE:

This changes templating a bit. All template props are set as attributes on builtin elements by default. On custom elements JSX props are set as JS properties by default. In JSX templates (and soon also with html tagged templates) any prop can be prefixed with attr: to force setting an attribute, or prop: to force setting a JS property. F.e. <some-element attr:foo={this.foo} prop:bar={this.bar} />

Any apps using @lume/cli for JSX compilation need to update to @lume/cli ^0.3.2.