DEV Community

Cover image for Why is React so popular?
Yessine Agrebi
Yessine Agrebi

Posted on

Why is React so popular?

** Why is React so popular?
**
Before we start talking about popularity, let's understand what React is in the first place.

React is a javascript library developed by Facebook, it allows developers to easily create user interfaces for web and mobile (React Native).

Now we will demonstrate how its become so popular by listing some of its features.

*Flexibility:
*

React flexibility can offer a huge advantage, it allows us to determine how to handle routing, folders structure and even testing.

One other important aspect of React’s flexibility is its ability to be sprinkled into existing applications. Individual elements in a page can be replaced by React, until the entire application makes the transition. (This is actually how Facebook slowly moved from server-rendered PHP to client-side rendered React.).

*Developer Experience:
*

React offers the option of declaring classes or functions for components, which in turn allows HTML to be housed within JavaScript. This design is opposite to competitors like Angular or Ember, which require developers to learn a special syntax.

*Community Support:
*

React is in the top most starred repos on GitHub, and it’s downloaded more than 6.6 million times every week. But more important than the number of developers using React is the quality of their experience with the framework.

For those who need support there are hundreds of thousands of react-related stackoverflow answers available to peruse.

With an ecosystem that includes popular names like React Router, React Redux, the community is second to none.

*Performance:
*

While React isn’t necessarily the absolute fastest technologie available, its use of a virtual DOM helps it benchmark quite well compared to the competition. This saves battery and CPU, and simplifies the programming model by re-rendering the screen when necessary.

In conclusion, React is a good library to work with but it’s not perfect. It has many advantages. We will talk about them in another article.

javascript #html #react #github #design #programming #community #facebook #technologie #testing #developer

Top comments (0)