DEV Community

Cover image for Why to use React.js?
Kunal Agrawal
Kunal Agrawal

Posted on

5

Why to use React.js?

Why React? 😱

React makes it easier to develop SPA's (single page application). It doesn't matter how many shortcoming is there in react, it's popular.
Not only react but there are hundreds of JavaScript framework out
there. Every week there is a new JavaScript framework out there with tons of different features.

Do you need to learn them all, to be a web developer? 👇

No, but you have to familiar with the approach of these framework to create SPA. How they're different from one another. And which will satisfies your app requirement, development workflow, infrastructure.

You can easily learn about these frameworks using ChatGPT.

But why react, ... it's popular. 😁

You should select any framework and master it, rather than wasting time on selecting a best framework.
Start Somewhere, Stop Procrastinating.

for more, you can follow me on

LinkedIn
GitHub

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (4)

Collapse
 
highasthedn profile image
highasthedn

React was my first JS library (indeed, it's not a framework) I heavily used in projects after years of using PHP.
Since I'm coding React projects for more than 7 years now, I have enough experience to get well-paid advanced projects.
Maybe React is not the "best" choice when you choose over a suitable JS library, I even would say there is no best library or framework. It's mostly about personal preferences, your experience and also the customers choice.
My advice would be not only to focus on libraries or frameworks, understand how it works under the hood and learn to write good and clean JS code

Collapse
 
itskunal profile image
Kunal Agrawal

It's hard to differentiate, is react a framework or library, now days folks are using react with module bundlers, different plugins. ( Vite is the great choice for that ). And thanks for your advice. 🙂🙂

Collapse
 
lotfijb profile image
Lotfi Jebali

Is it fair to say use React just to not use Angular ? 😁

Collapse
 
jamaluddinrumi profile image
Jamaluddin Rumi

you should trying non VDOM libraries instead

because VDOM is pure overhead

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay