Re: [csswg-drafts] [css-scoping] Please bring back scoped styles (#3547)

The solution you are describing above already exists for React https://github.com/zeit/styled-jsx

> This is not the case. There are differences.
> Obviously you can not reuse an id select. I will use a class instead in my example.

This part is not super clear to me but without an lower boundary (or to simply put it per component encapsulation) the styles would style nested ones (in React `children`).

-- 
GitHub Notification of comment by giuseppeg
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3547#issuecomment-458537757 using your GitHub account

Received on Tuesday, 29 January 2019 13:23:50 UTC