Skip to content

v0.10.0 - Minor fix to custom elements

Pre-release
Pre-release
Compare
Choose a tag to compare
@staltz staltz released this 22 Jan 18:33
· 3131 commits to master since this release

Improved implementation for custom elements: there are no more container elements on the DOM for every custom element.

To register a custom element, you must provide a View, not just a DataFlowNode. This is minor breaking change. You need to replace Cycle.registerCustomElement('my-element', SomeDataFlowNode) with Cycle.registerCustomElement('my-element', SomeView).