Skip to content

Comment on State of React and CSSparent

Comments

This gives you an upper bound on your scope, but for safe composable styles you also need a lower bound. Only Shadow DOM really gives you that.

You can simulate it with some significant markup and CSS pre-processing, but it's tricky. Polymer does this with it's templates.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.