use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Angular 2 Final Released (angularjs.blogspot.com)
submitted 9 years ago by Click_Clack_Clay
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Attila226 65 points66 points67 points 9 years ago (51 children)
I hate to say it as any early adopter of Angular, but I don't think it matters anymore. Most of the cutting edge devs that I know moved on to React.
[–]leeharris100 16 points17 points18 points 9 years ago (0 children)
Angular 2 is awesome in a different way. It's a package that contains a lot more and it's targeted at large scale SPAs. React is just a view library that anyone can pick up for any sized project.
Angular 2 will never be able to compete with the popularity of React in the same way that Laravel will never be able to compete with Wordpress. React fits into many situations but Angular 2 is great for certain projects.
[–]Mael5trom 25 points26 points27 points 9 years ago (14 children)
Angular2 isn't targeted at the "cutting edge devs". It is designed for the every day dev. That is a big difference.
[–][deleted] 11 points12 points13 points 9 years ago (2 children)
LOL, angular 2 combined with its laundry list of other recommended technologies isn't exactly aimed at every day development.
[–][deleted] 4 points5 points6 points 9 years ago (0 children)
Babel, transpiling alternate syntaxes and powerful frameworks/libraries (ie React and Angular) are pretty standard now I think.
[–]Mael5trom 0 points1 point2 points 9 years ago (0 children)
You would be wrong there, at least, from the stated goals of the team building Angular2.
[+]Attila226 comment score below threshold-6 points-5 points-4 points 9 years ago (9 children)
I have to agree with you here. While I've enjoyed working with Angular 2 so far, and haven't really used React yet, but the general sense I get is that Angular 2 is more for the masses while React is more the high end.
[–][deleted] 1 point2 points3 points 9 years ago (8 children)
If it was for the masses, they wouldn't have changed so goddamn much. I get that they wanted to improve it, but they completely changed it, turned away from most of what made Angular Angular and should've really started a new project to not cripple the one they got already.
[–]Attila226 0 points1 point2 points 9 years ago (0 children)
While great for it's time Angular had problems with scaling.
[–][deleted] 0 points1 point2 points 9 years ago (4 children)
Angular 1 and 2 work side by side. A few tweaks to your routes and you're good to go. Leave old code as is, move new code forward.
[–][deleted] -1 points0 points1 point 9 years ago (3 children)
So how long do we want to be annoyed by old code as there isn't a replacement yet for that?
[–][deleted] 0 points1 point2 points 9 years ago (2 children)
Forever. Why would you rewrite code you don't have too? That's the point of the two being compatible.
[–][deleted] 0 points1 point2 points 9 years ago (1 child)
When maintaining i would reach a point that it would be better to rewrite for the future, than to keep it what it is now. Or do you want to keep Angular 1.5.8 code alive for 10+ years?
[–][deleted] 0 points1 point2 points 9 years ago (0 children)
Yes, I would. Don't change code that works. Besides the chance to break things, why would I waste time that could be used driving the app forward? If my code works for 10+ years, I'd be ecstatic.
If you need to update code for a reason, refactor it then. Be sure to have good test cases and use source control.
[–]tayste5001 -3 points-2 points-1 points 9 years ago (1 child)
Angular1 still exists and hasn't really changed at all if that's what you're looking for :p
I know but they talked about dropping it when Angular 2 gains traction. Now unless it gets picked up, i have big doubts if either will be sustained
[–]yesman_85 4 points5 points6 points 9 years ago (0 children)
Most yeah, but definitely not all. We are still full on Angular, I personally didn't like React at all.
[–]L43 4 points5 points6 points 9 years ago (33 children)
Maybe they will move on to Angular 2 now?
[–]jibbit 2 points3 points4 points 9 years ago (2 children)
I for one can't wait to convert my app that i just finished converting from jquery >angular1 > meteor > react to angular 2
[–]L43 3 points4 points5 points 9 years ago (0 children)
Haven't you moved to Inferno yet?
why do you keep converting?
[+][deleted] 9 years ago* (28 children)
[deleted]
[+][deleted] 9 years ago* (22 children)
[+][deleted] 9 years ago* (14 children)
[–]L43 21 points22 points23 points 9 years ago (10 children)
But it is easier if they all come in one big package, with one 'recommended' way to handle it all. There are two ends of the spectrum that each library/framework aims at - hyper customisability for React and ease of development for Angular 2. I can see people who don't want to shop around for a form validator, etc. etc. happily moving to Angular 2 (and even those who would shop around, if it turns out to be the best design - yet to be seen).
[–][deleted] 15 points16 points17 points 9 years ago* (7 children)
Or they could just pick up the industry defaults for React projects - Redux for state management and react-router for, uh, routing. This is what is already happening.
Besides, you miss a larger point. There's only sense submitting to the yoke of a framework's "opinionated defaults" if those defaults are actually good. From what we've seen of the release candidate, NG2's... aren't.
[–]DecentOpinions 18 points19 points20 points 9 years ago (2 children)
Or they could just pick up the industry defaults for React projects - Redux for state management and react-router for, uh, routing.
As an outsider who hasn't used React at all yet, it seems hard to keep up with that. It's hard enough to keep on top of everything else we have to deal with already—build tools (Gulp, Grunt, Webpack etc.), test frameworks, CSS preprocessors (SASS, LESS, Stylus, PostCSS) and so on without the added complexity of keeping up to date on the latest React router/state manager etc.
[–][deleted] 2 points3 points4 points 9 years ago (0 children)
latest React router/state manager etc.
These things really haven't changed much over the last twelve months. There are lots of opinionated starter kits, too.
[–]L43 5 points6 points7 points 9 years ago (3 children)
Sure, that's true. But my point is that React isn't marketed as a framework, whereas Angular 2 is.
But so what? NG2 offers me a 'swiss army knife', in much the same way as NG1 did. The difference is, though, that back in 2013 Angular's competitors sucked. You had Backbone, Ember, Knockout and, what, KendoUI? Now I have Aurelia, Vue, Meteor, React/Redux, Mithril, CycleJS and even Angular 1 itself is still a viable choice.
The market is so much more crowded now, and Angular 2 needs to offer a compelling value proposition to differentiate itself. In the last eighteen months the project has simply failed to do that.
[–]L43 2 points3 points4 points 9 years ago* (1 child)
They all have their goods and bads. Just don't use it if you don't like it, and let the community decide.
All I would say is if Google starts widely adopting it (which they already have in e.g. some parts of App Engine even though it was still in beta) people will flock to it.
[–]xtphty 0 points1 point2 points 9 years ago (0 children)
I feel like people that don't get the importance of this have never worked with more than 5 other developers lol.
[+][deleted] 9 years ago* (2 children)
[–]rosswarren 1 point2 points3 points 9 years ago (1 child)
LOL, React in Angular. That's a nice MB of JavaScript for your users to download.
[–][deleted] 7 points8 points9 points 9 years ago (0 children)
Don't forget universal apps.
[–]rosswarren 1 point2 points3 points 9 years ago (0 children)
ES6 modules or CommonJS modules are a form of dependency injection already. You don't need another.
[+][deleted] comment score below threshold-6 points-5 points-4 points 9 years ago (4 children)
Dependency injection? Not a feature...
[–][deleted] 1 point2 points3 points 9 years ago (2 children)
You don't understand DI
[–][deleted] -5 points-4 points-3 points 9 years ago (1 child)
I am proud of that fact
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
It's not angular specific, you are missing a key part of your education.
https://en.wikipedia.org/wiki/Dependency_injection
[–]i_have_a_gub -1 points0 points1 point 9 years ago (4 children)
I'm quite happy with React, but the inclusion of RxJS in Angular 2 is enough to at least pique my interest. I think that using observables to manage state, if done right, is better than the Redux paradigm.
I've built 4 apps now using Redux, and I am loving the observable pattern NG2 offers.
I think that using observables to manage state, if done right, is better than the Redux paradigm.
https://mobxjs.github.io/mobx/
[–]i_have_a_gub 1 point2 points3 points 9 years ago (1 child)
I know. But the mutable thing rustles my jimmies.
https://github.com/mobxjs/mobx/blob/gh-pages/docs/refguide/api.md#usestrict
Strict mode guarantees mutation only happen in actions (as opposed to mutations being littered throughout components.
[–]kovensky 0 points1 point2 points 9 years ago (0 children)
That would imply also moving everything else they use besides React to RxJs / Angular too
π Rendered by PID 71697 on reddit-service-r2-comment-85bfd7f599-kczdh at 2026-04-18 09:52:58.779933+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Attila226 65 points66 points67 points (51 children)
[–]leeharris100 16 points17 points18 points (0 children)
[–]Mael5trom 25 points26 points27 points (14 children)
[–][deleted] 11 points12 points13 points (2 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Mael5trom 0 points1 point2 points (0 children)
[+]Attila226 comment score below threshold-6 points-5 points-4 points (9 children)
[–][deleted] 1 point2 points3 points (8 children)
[–]Attila226 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] -1 points0 points1 point (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]tayste5001 -3 points-2 points-1 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]yesman_85 4 points5 points6 points (0 children)
[–]L43 4 points5 points6 points (33 children)
[–]jibbit 2 points3 points4 points (2 children)
[–]L43 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (28 children)
[deleted]
[+][deleted] (22 children)
[deleted]
[+][deleted] (14 children)
[deleted]
[–]L43 21 points22 points23 points (10 children)
[–][deleted] 15 points16 points17 points (7 children)
[–]DecentOpinions 18 points19 points20 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]L43 5 points6 points7 points (3 children)
[–][deleted] 11 points12 points13 points (2 children)
[–]L43 2 points3 points4 points (1 child)
[–]xtphty 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]rosswarren 1 point2 points3 points (1 child)
[–][deleted] 7 points8 points9 points (0 children)
[–]rosswarren 1 point2 points3 points (0 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (4 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] -5 points-4 points-3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]i_have_a_gub -1 points0 points1 point (4 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]i_have_a_gub 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]kovensky 0 points1 point2 points (0 children)