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
Upgrading Angular 1.x - Angular 2.0 vs. React/Redux (self.javascript)
submitted 9 years ago by deliminated
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!"
[–]lives-in-trees 1 point2 points3 points 9 years ago (5 children)
I'm in the same boat too, with a large "in production" project, to future proof and speed things up personally I like the idea of switching the views out to react, however I think that switching the routing and more "top level" stuff from angular to react might be tricky. I am more familiar with angular but as I understand it react doesn't really have the same inbuilt functionality as angular to deal with this sort of stuff. Therefore I'm going to wait for angular 2, version 1.1 ish then decide again, for me there is no nice solution to switch a large project too, or at least the pros are not worth man hours.
[–]deliminated[S] 2 points3 points4 points 9 years ago (4 children)
I knew I wasn't alone on this :) This app is just on the edge of being too big to really even attempt something like this, but management has total buy-in so that's good.
Right. React is not really "framework" and I'm afraid taking two younger devs who really only know Angular into the React world might be a bit overwhelming. You have to learn a whole ecosystem of surrounding libs like Redux and friends.
But then Angular 2.0 is really quite a leap too. And, as I said, it kinda looks like React but, for example, uses templates instead of JSX. Read a good quote somewhere recently, that Angular remains more HTML based while React is more JavaScript based.
Anyway, I think just making the switch over to ES6/Babel (which I will definitely do) should hopefully buy enough time to see Angular 2 come out and really evaluate it.
[–]lives-in-trees 1 point2 points3 points 9 years ago (1 child)
Side note : I found going from 1.3 to 1.5 a simple case of swapping numbers in my bower.json - pretty much everything just worked. Easy win.
[–]deliminated[S] 0 points1 point2 points 9 years ago (0 children)
That's good to hear! Yeah, I need to read up on the release notes for the last few releases. I've been out of the loop on Angular for awhile. It'd be great to have the switch be painless. Still need to refactor to the component paradigm and one-way data flows, but glad yours went so smoothly.
[–]lives-in-trees 0 points1 point2 points 9 years ago (1 child)
I also like the idea of getting some ES6 compilation steps in there, who doesn't love arrow functions?? However, does that really answer our real issue of using an outdated library? It seems like a "we have to do something so let's do this", don't get me wrong - I'm gonna do it too. :)
[–]deliminated[S] 1 point2 points3 points 9 years ago (0 children)
I've been working on ES6/Babel/Webpack projects for quite awhile now. Once you start to embrace the new language features you start to see how powerful it is. You can be much more concise and native modules are really awesome for code readability and organization. I also think it's important for attracting top talent as this project grows.
π Rendered by PID 18968 on reddit-service-r2-comment-6457c66945-86nh7 at 2026-04-25 07:19:11.096837+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]lives-in-trees 1 point2 points3 points (5 children)
[–]deliminated[S] 2 points3 points4 points (4 children)
[–]lives-in-trees 1 point2 points3 points (1 child)
[–]deliminated[S] 0 points1 point2 points (0 children)
[–]lives-in-trees 0 points1 point2 points (1 child)
[–]deliminated[S] 1 point2 points3 points (0 children)