3 ms·
A feature usually consists of all three HTML/CSS/JS. So, if you split by technology, you don't have the code belonging to one feature in one place.
by k__ 5y ago
A feature usually consists of all three HTML/CSS/JS.
So, if you split by technology, you don't have the code belonging to one feature in one place.
- ssijak 5y agoThis is the most correct answer. It also felt wrong to me when I first started doing serious frontend development (I started it with AngularJS), but than it all made so much sense after a few projects and after I _experienced_ the benefites.
- politelemon 5y agoBut even then, a feature can end up spanning multiple files for reusability.