Re: [webcomponents] Auto-creating shadow DOM for custom elements

(I'm an extensiblewebmanifesto.org signer.)

Separate specs that compose well are great, and all.

Requiring this kind of boilerplate out of the gave is not:

this.createShadowRoot().appendChild(document.importNode(template.contents));

Wanting to avoid this kind of boilerplate is not a "stab in the dark". 
Why can't we avoid it, even with separate specs that compose well? Part 
of composing well is not requiring excessive boilerplate.

/be

Received on Saturday, 7 December 2013 21:25:00 UTC