Live data from Hacker News

Version 6 of Angular Now Available

blog.angular.io

81–86 of 86 posts

Re: Version 6 of Angular Now Available

#81
post #13

Was a firm believer in Angular when it was version 2, made the switch to React before Angular version 4. Best choice I've done for productivity.

I'd offer the opposite perspective: I started a recent app in React, and I wish I'd stuck with Angular. The core of the React render model is beautiful. It's far quicker to start writing and using a new component in React than in Angular, and the functional nature of React components feels good and highly productive. At first. But the problem is, around that beautiful core, the React community has built a mass of lib…

Exactly my experience, when they've introduced Context API in the latest version of react (16.3?) I and was seeing all these blog posts about them on all my feeds, i looked them up and tried to understand what the fuss was all about, and when I finally understood, I was like "Ok so it's solving exactly the same problem that @Injectable Services solve, but in a way more convoluted manner)

Re: Version 6 of Angular Now Available

#82
post #34

Earlier quoted context omitted.

I'd offer the opposite perspective: I started a recent app in React, and I wish I'd stuck with Angular. The core of the React render model is beautiful. It's far quicker to start writing and using a new component in React than in Angular, and the functional nature of React components feels good and highly productive. At first. But the problem is, around that beautiful core, the React community has built a mass of lib…

Check out this pattern http://meiosis.js.org Works great along w react

And that's exactly what he's talking about, and how many patterns do you have? Because we only have one, the Angular way, you can't imagine how an opinionated framework simplifies the life of working in large teams and hiring new people that can be productive quickly because they all pretty much follow the same design guidelines

Re: Version 6 of Angular Now Available

#83
post #67

The auto import of providers is my favorite feature in this. Now you can just define something as @Injectable() and make it available in the module automatically. Big improvement over older versions

Why do you even need providers? No one using React uses them. Google can't break free of old Java habits.

The things Angular Community achieved with the dependency injection system is mind boggling, it's a very powerful paradigm.

Re: Version 6 of Angular Now Available

#84

Earlier quoted context omitted.

Same, they handled the transition terribly, I really wanted to use angular but I stuck with knockout and then ended up going to VueJs instead.

I've gone to using VueJS full-time as well and it's been absolutely amazing at increasing my productivity.

What I really like with SFC's is that with some thought you get genuinely scoped components meaning you can build your UI much like something like XAML/WPF which for the kind of interfaces I build is fantastic.

Combined with QuickType, C# and TypeScript it's productive as hell.

Re: Version 6 of Angular Now Available

#85
post #69
post #39

I was joyfully expecting this upgrade and checked the release notes daily during the RC phase. Don't let the quick 'major' version changes shock you, upgrading 4 -> 5 was easy and I expect the same for this upgrade. A big thanks to everyone involved in shaping this release and ensuring the upgradability for the past major versions, including the huge effort in making it possible to continuously migrate from AngularJS…

> There are a few workarounds but they did not seem to work properly. If anyone has suggestions on that part. Actually with angular-hybrid you do not need to use a AngularJS entryComponent. The only thing that needs to be AngularJS is the bootstrap component. Also AngularJS components can be Upgraded easily and Angular2+ Components can be downgraded easily, too. The only problems are old school Directives which can b…

Wow, great. Did not look into that before, many thanks for pointing that out.

Re: Version 6 of Angular Now Available

#86
post #40
post #39

I was joyfully expecting this upgrade and checked the release notes daily during the RC phase. Don't let the quick 'major' version changes shock you, upgrading 4 -> 5 was easy and I expect the same for this upgrade. A big thanks to everyone involved in shaping this release and ensuring the upgradability for the past major versions, including the huge effort in making it possible to continuously migrate from AngularJS…

Out of interest, have you looked into EmberJS? That has by far the smoothest upgrade process I've come across. One CLI command upgrades your dependencies, does a diff against a new greenfield project and applies the changes to your application, and also runs any codemods to migrate your code to a new pattern.

I did not look into it mainly because we cannot afford a rewrite, and the ngUpgrade module provided us with a way to write new code without replacing everything in one go (and breaking the entire frontend in between).
Post reply on HN