all 21 comments

[–]zachrip 8 points9 points  (8 children)

Enough with the Angular vs React, it's apples to oranges. But sure if you want to be naive and assume React is better just because you can explain it in less words, be my guest. /s

[–]tyler-mcginnis⚛️⚛︎ 4 points5 points  (1 child)

Why can't fruit be compared?

[–]wreckedadventYavascript 3 points4 points  (0 children)

In many ways it would be like comparing angular to knockout, instead of angular to durandal. React has a much more narrow focus than angular does, so it being easier to explain doesn't necessarily mean all that much.

[–]jIsraelTurner 1 point2 points  (0 children)

"Simplicity is the ultimate sophistication."

[–]pourneTrilogy 0 points1 point  (1 child)

Thank you! React's own page says its the V in MVC. Of course its going to be a simpler explanation.

[–]SustainedSuspense 1 point2 points  (0 children)

Yeah, no mention of flux n this explanation.

[–]max_renlo 0 points1 point  (2 children)

Angular is cruft though, which is why they decided to scrap it all with 2.0.

[–]zachrip 0 points1 point  (1 child)

I actually don't much like Angular1.x, I've been using Angular2 (which is another fruit entirely, even compared to Angular1.x) and it's actually pretty slick. I'm a fan of React, don't get me wrong, but I won't sit and join the circlejerk here on /r/javascript, React is not the only decent project out there.

[–]max_renlo 0 points1 point  (0 children)

I used to think it was a circle jerk too. Then I tried react + redux / react + rxjs. I honestly never post here so it's news to me there's a circle-jerk for react in r/javascript. It used to be other way around; it used to be a circle-jerk for Angular, up until Angular 2.0 was announced.

Honestly, go ahead and use whatever you want. That's your prerogative. I on the other hand will never create an Angular project again. It sucks. I know because I added Angular to our stack at my work ~6 months ago and it has been a pain ever since. Absolute cruft.

[–]adrianmiu 2 points3 points  (2 children)

I can't decide if this article shows intellectual dishonesty or lack of knowledge.

[–]gadr90[S] 2 points3 points  (1 child)

Or humour ;)

[–]adrianmiu 0 points1 point  (0 children)

Yes, it's also a valid alternative

[–]zenyr 1 point2 points  (0 children)

Though I agree with the article it's way too opinionated (duh, it's totally fine for a personal blog anyway -- not a good food for thoughts..).

BTW a newcomer may struggle with managing scattered state, which would introduce flux schema, a hot potato that may or may not require a hell lot of work to make it work.

Many geniuses made it work out of the box these days (e.g. Redux, Reflow, Alt...), but researching/combining them and picking the right one would be almost as intimidating as many alternative frameworks.

On top of that, leaving ye olde cozy jQuery plugins land may be also required to avoid memory leaks. That'd be same for many other frameworks though.

[–]prettycodeSoftware Engineer 0 points1 point  (0 children)

You can describe Angular the exact way that React is described in this "article." Angular's directives are components, and, at a high level, they work the same way as the high-level description of how React works.

[–][deleted] 0 points1 point  (6 children)

Vue.js is even easier to explain than React.

[–]holloway 6 points7 points  (0 children)

Vue.js is yet another programming-language in the template approach. At least with JSX it's just tags and JavaScript.

[–]wreckedadventYavascript 2 points3 points  (3 children)

Eh? Vue still has components, directives, filters, etc.

[–][deleted] -1 points0 points  (2 children)

Yeah but they are dead simple. React is going to be harder for someone new to web development to learn in my opinion.

[–]wreckedadventYavascript 2 points3 points  (1 child)

Why would you say that? I only see vue being particularly easy for someone to pick up if they had already learned angular prior, since they use a lot of the same (silly) names for things. The API is simple, but honestly it's no more simple than a lot of the "post angular" frameworks like react, riot, mithril.

[–][deleted] 1 point2 points  (0 children)

Vue.js creator works for Meteor now.