Pros and cons of using Shadow DOM and style encapsulation

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
When I started to work with web components, I compared different options and decided to go with lit. I knew the extra performance cost would pay off quickly, and it fit into my performance budget. I’m still happy with my decision. .pro { color: green; } .con { color: red; } I was new to web components and lit, so I had to consult...