Today we'll get to know if react is a library or a framework.
React offers various extensions for entire application architectural support, such as Flux and React Native, beyond mere UI.
Most People Definition About The Library And Framework
A framework is software where you plug your code into
A library is software that you plug into your code
React is a Library
First of all, Library contains a bunch of functions to process and those functions will perform some useful tasks to execute on a webpage.
React can be used as a base for developing SPA or mobile applications like Jquery mobile library.
React is only good for one thing: it's a view library that gives you a virtual Dom.
React itself only handles one task: abstracted Web Components. Like library handles the tasks.
React is a Framework
Initially, React was marketed as an alternative to large "MVC Architectural Frameworks", then it describes only the "V(view)" in "MVC" but still it called as "Framework"
React is not a complete framework but it may hold it because Redux is referencing it as one Source of reacting, Redux handling the real-work problems more than a library.
The ecosystem of reacting is practically called a framework because it involves react-router, Virtual dom, jsx, etc...
But Funny things are
Most of them compare ReactJS with other frameworks to show which is best.
Most of the job descriptions show as "Expert in frameworks like ReactJS, AAngular.