Is React A Library Or Framework?

Is React  A Library Or Framework?
Techiio-author
Written by Shuvhojit DebJanuary 20, 2022
3 min read
React js
4 VIEWS 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 4 VIEWS SHARE
Techiio-author
Shuvhojit Deb

Full Stack Developer

Today we'll get to know if react is a library or a framework.

About React

React is a JavaScript-based UI development library. Facebook and an open-source developer community run it. Although React is a library rather than a language, it is widely used in web development. The library first appeared in May 2013 and is now one of the most commonly used frontend libraries for web development.

React offers various extensions for entire application architectural support, such as Flux and React Native, beyond mere UI.

blogpost

Most People Definition About The Library And Framework

Framework

A framework is software where you plug your code into

Library

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...

Conclusion

The ReactJS official website(https://reactjs.org/) says VERY clearly 'React is a JavaScript library for building user interfaces".

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.
React
React JS
React Framework
React Library
4 VIEWS 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 4 VIEWS SHARE
Was this blog helpful?
techiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plan
You must be Logged in to comment
Code Block
Techiio-author
Shuvhojit Deb
Full Stack Developer
Techiio-followerTechiio-follower
117 Blog Posts
0 Discussion Threads
Trending Technologies
15
Software40
DevOps46
Frontend Development24
Backend Development20
Server Administration17
Linux Administration26
Data Center24
Sentry24
Terraform23
Ansible83
Docker70
Penetration Testing16
Kubernetes21
NGINX20
JenkinsX17
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance