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

The component DIR should have css, logic/js and template/markup. Seperation of concerns right down to component level. It really comes down to how organised the devs and their tools are.


Or you could put all that stuff in a single-file component or use JSX with atomic CSS or CSS in JS.




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

Search: