Keith Grant in Scope vs Shadow DOM:
But here’s the thing: CSS @scope and shadow DOM are not competing standards. They’re complementary. They meet different needs entirely — but with enough healthy overlap in functionality so there isn’t a gap.
I like that phrase “enough healthy overlap” when it comes to web platform features.
Grid and flexbox is a great example. Both powerful layout APIs very useful in their own right, and actually quite different. But they can accomplish some layout needs pretty much the same. But instead of thinking “that’s dumb, why are there two things that can do the same thing?”, it might be smarter to think “these two different layout APIs both have different strengths and weaknesses and with enough healthy overlap in functionality so there isn’t a gap”.
I would think this applies heavily to different data storage approaches.
Leave a Reply