News for hackers. Stuff that matters.
Re:Vue.js vs. React by jamie_ca on Saturday August 19, 2017 @07:53PM (#15056263)
Separation of concerns means put your styles in a <style> tag rather than the style attribute of a tag, and behaviour in a <script> tag rather than in an onclick/onhover/whatever on the tag.

Grouping logically related components together makes perfect sense (and this is coming from a backend Rails dev who thinks the rails directory structure is totally wrong as well).

There are no comments on this comment yet.