Hacker News new | ask | show | jobs
by danenania 701 days ago
1 - It’s easy for style bugs to get introduced when someone updates the html and forgets the css.

2 - It’s simpler to have styles that depend on js vars/parameters when components handle their own styling.

Encapsulation, in other words.