Hacker News new | ask | show | jobs
by satvikpendem 861 days ago
What is the value of separation of concerns when it comes to UI? Because I find not colocating the logic and styling for a component to be very annoying when it comes to looking for the right files.
1 comments

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.