Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

> On Apr 30, 2015, at 5:12 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> 
> On Mon, Apr 27, 2015 at 11:05 PM, Ryosuke Niwa <rniwa@apple.com> wrote:
>> I’m writing any kind of component that creates a shadow DOM, I’d just keep references to all my insertion points instead of querying them each time I need to distribute nodes.
> 
> I guess that is true if you know you're not going to modify your
> insertion points or shadow tree. I would be happy to update the gist
> to exclude this parameter and instead use something like
> 
>  shadow.querySelector("content")
> 
> somewhere. It doesn't seem important.

FYI, I've summarized everything we've discussed so far in https://gist.github.com/rniwa/2f14588926e1a11c65d3.

- R. Niwa

Received on Thursday, 30 April 2015 17:44:22 UTC