5 ms·
Can someone chime in as to whether React won the frontend war? As in the super majority of new project will be developed in React. I'm not that well-versed in t
by NhanH 11y ago
Can someone chime in as to whether React won the frontend war? As in the super majority of new project will be developed in React. I'm not that well-versed in the Node ecosystem (I got my news from ... HN). But from little I've seen, I found it hard to believe that React would be able to react the place where jQuery was (is?).
Heck, we even have a post staying on the front page today lamenting the inferiority of React.
- desireco42 11y agoI think it did, but this is JS we are talking about and tide will turn quickly.
- d0m 11y agoOne interesting thing about React is how some big names (Amazon, Apple, Netflix, Yahoo) rallied to React instead of creating their own libraries, whereas they all had their own-cooked libraries before. Also, which is more of a personal opinion, but I've tried a lot of frameworks/libraries and React is the first one that really "clicked" with the way I work and design. I don't think it will "replace jQuery", but for modern single web application, I think React is the way to go. Or said differently, "Nobody will get fired for choosing React" ;)
- yazaddaruvala 11y agoI have read blog posts by Yahoo and Netflix. While I believe you, I'm just curious how they are being used by Amazon or Apple. Do you have references about this?
- TheAceOfHearts 11y agoApple held a ReactJS meetup on December and they showed off a declarative graphing library for React that they'll probably open source some day.
- ef4 11y ago> some big names (Amazon, Apple, Netflix, Yahoo) rallied to React That's a bit of an overstatement. At least three of those four are also shipping major Ember apps and investing heavily in that ecosystem. (The only one I don't know for sure is Amazon.)
- Bahamut 11y agoAnd at least 3 also ship apps with Angular as well, and I know Netflix has some eyes on Angular 2 as well with several key figures from Netflix having helped shape some of Angular 2's direction (at least through the push for observables). This war talk is silly, and sort of akin to fanboyism that is often seen in stuff like video game consoles - lot of preaching & rhetoric, short on hard numbers and other meaningful metrics/facts.
- DCoder 11y agoRandom data point: last time I checked, the AWS management console web interface was built in Angular.
- d0m 11y agoSorry, I didn't mean to attack other frameworks. I was referencing stuff like this: http://www.youtube.com/watch?v=eNC0mRYGWgc&t=8m18s http://www.youtube.com/watch?v=eNC0mRYGWgc&t=8m18s
- apalmer 11y agoNo, Or to rephrase, No React has not won the frontend war in the way and scale that jQuery won the front end war. At one point something like over 50% of all new (at the time of its peak) web applications big and small included it? No. I mean jQuery actually really lost its stranglehold primarily because the browsers actually started incorporating most of its core ideas into themselves to a point where it wasn't 'necessary' anymore. However as far as alpha geek mindshare, react has definitely overtaken everything else in the frontend world. At least from what I can tell.
- joshowens 11y agoI think when you look at the companies using React now, you start to understand why it is gaining ground quickly. Couple that with the fact that Facebook has dumped a lot of efforting into the tooling around it, it makes sense to me.
- silviogutierrez 11y agoI was about to abandon Angular 1 for future projects and go all in on React. And it looked fairly promising, except everything is its own little module. Good for UNIX, but not so good for modules that change so often. Then I started catching up on Angular 2 and TypeScript. It looks like the right mix between new and opinionated. I just don't have time to research a module for data, one for building, one for testing, and one for validation. That's where an opinionated framework comes in handy. I do hope Angular 2 takes off. Any other Angular people out there weighing in between React and Angular 2? If I were a betting man, I say it's going to come down to those two for the next few years.
- suhelk 11y agoI totally agree with you. It took me lots of time just to figure out to write a 'PROPER' react application. There are too many modules to choose from for routing, data acess etc.. Then I tried with Angular 2, it look me less time to get up and running with forms, routing and everything...
- stephenhuey 11y agoIt may take you even less time with Aurelia!
- suhelk 11y agoAurelia too seems interesting. Since I have done development in Angular 1.x before, Angular 2.0 was the natural choice. From the look of it, Aurelia seems promising, need to look into more before I need to comment anything.
- stephenhuey 11y agoWe've been using Angular on one project and for a new application we were considering using just React with Node or maybe those two with Angular 1 or 2 also. However, after getting started with Aurelia we may stick with it and never consider Angular again!
- Matthias247 11y ago
- rmason 11y agoTake a look at the trend line and React still has a long ways to go to catch Angular: https://www.google.com/trends/explore#q=reactjs%2C%20angularjs&cmpt=q&tz=Etc%2FGMT%2B5 https://www.google.com/trends/explore#q=reactjs%2C%20angular... Having stated that I am trying to get up to speed on React in order to make a knowledgeable comparison to Angular 2. I've got friends who are way better JavaScript programmers than I am, ones with VC backed startups built with Angular 1, who are really struggling to learn Angular 2.
- santoriv 11y agoIs that trend line really an indication of Angular's popularity relative to React? It took a few weeks to get decent with Angular, over a month to get productive with Ember, and about a few days to figure out React. That trend line might be more indicative of Stack Overflow searches.
- xxxxxxxx 11y agoInteresting. Looks what happens when you add jQuery: https://www.google.com/trends/explore#q=reactjs%2C%20angularjs%2C%20jquery&cmpt=q&tz=Etc%2FGMT%2B5 https://www.google.com/trends/explore#q=reactjs%2C%20angular...
- lolc 11y agoI could imagine that people omit the 'jquery' keyword nowadays because it's implied.
- mkozlows 11y agoIt would be basically impossible for React to reach jQuery-like levels of adoption. The beauty of jQuery was that you could take an old, crufty pre-jQuery application, drop in a single script tag, and start writing nicer code immediately with no fuss (and refactoring old crufty code as you touched it). You can't do that with React. I can't even imagine what it would take to migrate some 2010-era J2EE enterprise app to React, but it certainly wouldn't be just dropping in a script tag and writing your new code more cleanly. Which means that React can only be the product of choice for new development moving forward; and even then, given how complex it is, only some subset of apps are going to bother with it. Nobody ever said "this application is too simple to bother with jQuery," because jQuery helped even simple apps, but there are legitimately huge classes of apps for which React is just massive overkill.
- gravity13 11y agoThe comments in here today are a bit out of touch. >You can't do that with React. You can. Other than React's rather hefty size, there's nothing stopping you. React is just a view layer, is unopinionated about how you get your data to it, and for rendering to a DOM needs nothing other than a DOM node to render into. Try it out. You can have 100 different React components slowly eating your legacy app alive. You just gotta be smart about it.
- frandroid 11y ago> You just gotta be smart about it. They said _no fuss_.
- rafaquintanilha 11y agoDrop a React component in the middle of a legacy project is IMO less fussy then jQuery code. I say that because components are standalone, so you won't mix logic for that piece.
- thebouv 11y agojQuery and React aren't in competition. Not even really tackling the same problems (though obviously there is some overlap in some areas) and neither one of them are frameworks. React is overkill for a website. It is great for a web application. But your blog about recipes or hats for cats? You're just over-engineering at that point.
- JDDunn9 11y agoI think React won the HN front page, where anyone who criticizes it or promotes another technology gets down-voted. However outside this bubble, ReactJS has a very long way to go before adoption rates make it a contender for top library (http://trends.builtwith.com/javascript/javascript-library http://trends.builtwith.com/javascript/javascript-library).
- VeilEm 11y agoReact is probably too hard for casual scripters. I disagree with the OP's point about it being the new jQuery. It is however perfect for a solid engineering solution to building great web applications. It's for engineers who care about churning out a well tuned architecture and not for those who are just creating an CRUD app that just grows organically.
- sgdesign 11y agoI'd be curious to know what you find hard about React? Also a CRUD app that just grows organically needs a well-tuned architecture too, once it grows large enough.
- VeilEm 11y agoWith React you have to Reason about abstract things pretty early, especially if you're using something like Redux. You have to know how to think about code in the abstract. A lot of people are just trying to get specific behavior on their website. They're thinking "I want a form that does this x", "I want a button that does y". They don't may not know how to think about abstract architecture and they may not see the value in it. React doesn't really let you write code this way easily. You will run into problems with the lifetime cycle. You will be constantly fighting the library. Angular on the other hand lets you write a basic CRUD app without having to worry about those things. It's friendlier for people new to development. I'm not advocating for Angular, I very much dislike it and I exclusively write using React, I just think React too hard or too much for normal people.
- fourstar 11y agoReact only won the people who aren't satisfied with their current framework/situation because they didn't have the attention span to stick to one thing for more than a year. Still using Backbone. Still works.
- sergiotapia 11y agoI completely agree, with the huge caveat that React works so incredibly well with Meteor it ruins the experiences with React elsewhere. It really is a match made in heaven. Give it a try.
- SignMeTheHELLUp 11y agoReact won. And that's a good thing. Anyone reading this has one less decision to make. If you're building a JS frontend you want to be using React. You'll also want Redux to structure your application around React.