Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: