DEV Community

Discussion on: Yes, React is taking over front-end development. The question is why.

Collapse
 
bgadrian profile image
Adrian B.G.

I will reply on the first paragraphs of the article (the rest of the article I don't think is relevant, based on the title of the post).

The first 2 reasons you give (for react popularity) can be applied to jQuery or any other JS UI framework.

The third to Flutter.

The last 2 reasons can be applied to AngularJS (replace facebook with google). And from what I read only a few small parts of facebook.com are built on React.

And as for graphs, I think the ecosystem is growing, and any framework that is not dieing is growing too. I could say the same thing about vue.

vuejs

Indeed React is taking over, it's very popular but I don't think these are the reasons, maybe because of its simplicity, and/or because is based on "better"/more suited paradigms for UI development (unlike jQuery, imperative vs declarative), and a few others, but most of all: it doesn't have a competition (maybe just clones like pReact).

No, VueJS and Angular are not the competition. VueJS is a full framework (unlike React that solves only the view), and Angular is meant for enterprise level apps (solve different problems).

I think that jQuery, React, Vue and Angular do not compete, cannot compete, they solve different problems in different ways, and cover different topics with different paradigms (eg: 2 way binding vs 1 source of truth). It's just that:

  • devs are using the wrong technology for their problems (hype and such) (eg: small apps with angular and big apps with react)
  • React is the first (mainstream) framework that solves this niche (declarative simple UI elements with shadow dom for SPA)
Collapse
 
leob profile image
leob

I think Vue is definitely a competitor, they're being used to build the same sort of apps, and the core concepts are the same (reactivity, virtual DOM, etcetera).

The only difference is Vue has a bit more stuff "built in" (for instance a routing system), that's why you could call it a framework - it has a more "integrated" feel. However, react + react-router + redux more or less has the same scope as vue + vuex. Library/framework distinction is a bit artificial.

So I'd say they are competitors, React isn't unique in its space. Bring on the competition!