Hacker News new | past | comments | ask | show | jobs | submit login

Check out the webpack style loader if you don't want to go full inline with the styles. We had to monkey patch Module.prototype.require to get mocha happy with "requiring" sass files but it was only half a days work. Now, styles don't leak outside of the component we want them in. Stylesheets are absolutely my least favorite part of development and having one stylesheet per component actually makes it tractable for me.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: