DEV Community

Why ReactJS is a Framework, not a Library

George Jempty on January 09, 2019

If ReactJS lets you program declaratively, it must be a framework I have read one too many times that React "is a library", presumably b...
Collapse
 
niorad profile image
Antonio Radovcic

Would you say Slick-Carousel is also a framework? You declare the Result you need, like

$(element).slick({
 animated: true,
 duration: 200,
 loop: true,..
});

Isn't React also "just" calling React.createClass with a bunch of methods?

I really never thought about React being one or the other, there's complex libraries and simple frameworks.