Death to the shadow DOM!
SMRTR summary
The shadow DOM in web components is criticized as an anti-pattern that eliminates CSS cascade benefits. While marketed as encapsulation, it forces developers to replicate global styles within components and creates a worse developer experience. Modern CSS features like Cascade Layers offer better solutions for managing style conflicts than shadow DOM isolation.
SMRTR provides this summary for quick context. The original article belongs to Go Make Things.
Read the original article