github cyclejs/cyclejs v0.9.0
v0.9.0 - Enable custom elements inside custom elements

latest releases: unified-tag, v7.0.0, v7.0.0-rc8...
pre-release9 years ago

Fixes bug where custom elements couldn't be used inside custom elements #64

Breaking change to the API related to custom elements

Register the custom element on Cycle object, not on the Renderer:

// v0.8.x (before)
var renderer = Cycle.createRenderer('.container');
renderer.registerCustomElement('mybutton', dataFlowNode);

// v0.9.0 (now)
Cycle.registerCustomElement('mybutton', dataFlowNode);

This change should persist also when HTMLRenderer arrives, for server-side rendering. Cycle.registerCustomElement() will instruct all instances of Renderer and all instances of HTMLRenderer to replace the tagName with the dataFlowNode implementation.

Don't miss a new cyclejs release

NewReleases is sending notifications on new releases.