from Hacker News

Writing Custom CSS vs. Using Front End Frameworks

by sheharyarn on 3/2/18, 11:02 PM with 1 comments

  • by anon1094 on 3/2/18, 11:34 PM

    Using the first method with a bunch of classes makes a lot of sense when you're going with a UI library like React.js or Vue.js.

    You have separate components and you use the classes to style them. So you're not repeating them all over the place because you're then just rendering a single component instead of repeating HTML.