Re: [w3c/webcomponents] [idea] Not having <slot> element get in the way of structure. (#589)

@annevk 

> a good guide.

Thanks for the link, well noted.

@rniwa 

> If you're working on a framework like React, you can just emit slot element from {}.

If I were to write components using React instead of Web Components, I would just completely ignore ShadowDOM because composition is all handled by (encapsulated in) React components.

I'm finding that React's model is currently a lot more flexible and easier to work with than ShadowDOM, but the advantage of writing components with Web Components is that they will work in any view layer, not just React.

-- 
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-255446547

Received on Friday, 21 October 2016 19:29:27 UTC