DEV Community

loading...

Discussion on: #discuss What is the benefit of React/Angular/VueJS?

Collapse
carlmungazi profile image
Carl Mungazi

I assume by pure CSS you also mean vanilla JS as well?

Frameworks abstract away a number of things. Fundamentally, they allow you to programmatically create DOM elements and make it easier to keep the state of your UI in sync with the data flowing through your application. I am currently doing a project where I delve into this subject in more depth, if you are interested: github.com/CarlMungazi/aprender-js.

I use React because it is similar to Mithril (mithril.js.org/) the first framework I used professionally. Given the chance I would use Mithril or Preact because they do what React does but with less code.

Collapse
couch3ater profile image
Connor Tangney • Edited

I assume by pure CSS you also mean vanilla JS as well?

I actually came by just to make certain there was no confusion about this, since React is not a CSS framework, but a Javascript "framework."

Good catch!

😬