DEV Community

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

Collapse
 
vonheikemen profile image
Heiker

In my opinion React is a library. It does one thing, it let you describe how one piece of the interface should look like.

The interesting thing is that people choose to use it as a framework, by reaching out to other packages in the react ecosystem. What ends up happening is that your code lives inside React.

Take a look at this examples
React as a framework
React as a library