DEV Community

Discussion on: Why is React a library and not a (simple) framework?

Collapse
 
bgadrian profile image
Adrian B.G.

Because it does only 1 thing? Namely rendering components in HTML.

If it were a framework like Vue or Angular it would handle more problems like Routing, Animations and so on.

ll you got to do to use it is add the script in your HTML (or import however you like) and voila

React is available right away too, like jQuery, has global variables. But same as jQuery it does nothing if you do not call it.

Also search and read for articles named "Imperative vs Declarative jQuery", you will see why and how the paradigm shifted.

Collapse
 
milan090 profile image
Milan

Vue is a library right?