- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Mon, 14 Nov 2016 10:55:21 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 14 November 2016 18:56:18 UTC
Not really any problems per se, but more about semantic meaning. In React (for example), the separation between content (HTML) and logic (distribution with JavaScript) is cleaner I think, that's all. Maybe things like `ParentNode.prototype.distributedChildren`, `ChildNode.prototype.distributedParent` (which is `null` in closed roots), and a `childdistributed` event would be more along the lines of the semantic separation, along with JS-only API to define distribution points. And the reason why JS-only API would be acceptable is because creating shadow roots is already JS-only to begin with. Just thoughts, but knowing the web, the discussion here is probably moot since the API is already released. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/589#issuecomment-260426547
Received on Monday, 14 November 2016 18:56:18 UTC