Live data from Hacker News

Angular 2 Beta released

angularjs.blogspot.com

141–150 of 273 posts

Re: Angular 2 Beta released

#141

When people point out that Google is behind Angular, they fail to mention that the level of investment is nowhere near that of Facebook in React. I've been loving using React. Building in components is fantastic, and it just feels like writing Javascript. That's a win in my books.

I don't understand the point of this comment. Almost every new Google service I see is written in Angular. Why are we jumping on comparing it to React already? Maybe let's withhold judgement until we actually use it. Just a thought.

[deleted]

Re: Angular 2 Beta released

#142

When people point out that Google is behind Angular, they fail to mention that the level of investment is nowhere near that of Facebook in React. I've been loving using React. Building in components is fantastic, and it just feels like writing Javascript. That's a win in my books.

Apples to Fruit Basket comparison. React is a strict view layer, though i've seen too many instances of people trying to make it a ubiquitous framework. Angular is far wider reaching library.

What exactly is your point here?

Re: Angular 2 Beta released

#143
post #134

Earlier quoted context omitted.

All new Google's project I see use Angular. Fiber, StarWars, Cloud Platform.. all of them.

Sure but look at the critical, consumer facing stuff: gMail doesn't use Angular, FB does use React.

I'm pretty sure Doubleclick is far more 'critical' than gMail, from Google's perspective.

Re: Angular 2 Beta released

#144
post #140

Earlier quoted context omitted.

This is a pretty important point to consider. If Google was as invested in Angular as Facebook was in React, they would probably have gone with a more gradual, methodical approach to improving the framework (like the Ember team did). And until that changes, there is very little stopping them from doing another mostly incompatible rewrite in a few years. As it stands, Angular 2 is closer to a completely new framework…

This is a nice worldview but doesn't hold up to the evidence. Google has said they have something like 10k Angular 1.x apps, so they will keep on working on Angular 1. Angular 2 happening along this support is showing that they're willing to invest in the conservative route and the "burn down the libraries" route at the same time.

By level of investment, both me and the OP meant in terms of products that are key to the company's operations, and need to be continuously supported and improved. Facebook is one such app for Facebook that uses React. Instagram is one such app for Facebook that also uses React. I honestly don't know any such app for Google that uses Angular. Until that changes, there is very little incentive for the Angular team to keep improving upon the existing solution instead of building something completely new with no regard for the people that depend on it.

The so called upgrade path they offer for Angular 1.x is a complete joke. That you can "mix Angular 2 into your existing Angular 1 application" would be a true statement with any component-oriented framework in place of Angular 2, like React, and Ember. And this was not true for Ember just a few months ago, which is living proof that gradual improvement can in fact be accomplished with any framework, but of course, throwing everything away is much easier, so the framework developers need to have strong incentives to not do so.

Re: Angular 2 Beta released

#145
post #132
post #95

Earlier quoted context omitted.

Then what do you use?

React providing a mustache-like format (like ractive.js uses) would be great - more familiar than JSX and less clumsy than createElement(). Edit response to person below (rate limit): there's no 'problem', just that mustache is still more familiar. Moving JSX into a different file doesn't change that.

You could just put your JSX in a separate file and import it. "Problem" solved.

Re: Angular 2 Beta released

#146
post #81
post #75

Earlier quoted context omitted.

Me too. Impression, admittedly only from reading about it and looking at a few code samples, is that Angular 2 is over engineered and complected, as is 1.x, which I have worked in daily for over a year. ReactJs is much more appealing these days.

I've used and followed Angular 2 somewhat over the past year. My take is that React is better for engineers familiar with JavaScript, while Angular may be more comfortable for engineers with a preference for Java/C#. I don't mean that in a bad way; it's simply been my experience that people coming from those languages love what they see of Angular 2, and are repelled by React. It's not hard to see why. This code[0] f…

let's be fair, Pipes can do a little bit more then pure functions. E.g. the async pipe which lets someone directly use Observables in the view is really helpful. And a simple function in combination with Observable.map() or Promise.then() won't bringt that functionality to React (you need to write lifecycle hooks or mixins, and in the end it would look similar to your construct.

Re: Angular 2 Beta released

#147

When people point out that Google is behind Angular, they fail to mention that the level of investment is nowhere near that of Facebook in React. I've been loving using React. Building in components is fantastic, and it just feels like writing Javascript. That's a win in my books.

Apples to Fruit Basket comparison. React is a strict view layer, though i've seen too many instances of people trying to make it a ubiquitous framework. Angular is far wider reaching library. What exactly is your point here?

No, its not an apples to fruit basket comparison. When people talk about React they're not talking about only React, but more likely a front end app that implements React.

No one is saying "oh I love writing view layers. It's way better than actually building things".

Re: Angular 2 Beta released

#148

I am in Germany and this link forces a redirect to angularjs.blogspot.de because of my location (which is a version of the blog in German, which I don't read). No simple way around this, and no link I can see to go to .com instead. That's quite frustrating.

I am in Germany as well, and it redirects me to blogspot.de but the actual content is in english.

same for me

Re: Angular 2 Beta released

#149
Congratulations to the Angular 2 team on shipping before Christmas. The estimate was originally somewhere around early 2016, so this is a huge deal for them to get this out before the year was up. Unfortunately, Angular 2 launched into beta too late. In the amount of time that Angular 2 has taken to get to beta, ReactJS has slaughtered the front-end market share (in a good way) and completely taken developers by storm with its simplistic component based approach.

Unlike React, Google does not really treat Angular as a first-class citizen because they have such split focus and conflicting React like library for web components called Polymer. They provide some resources, but nowhere near the amount of resources that Facebook throws behind React and React Native.

Now lets talk about the fact that the Angular 2 project got off to a shaky start and I know they actually rewrote various parts from scratch more than once (hence why it took so long to reach beta, approximately 2 years). That horrible templating syntax needs to be mentioned, the decision to use square and rounded brackets for binding events/data and using things like asterisks in my opinion makes Angular 2 fall into the same trap that Angular 1 did in regards to developer accessibility.

I am really loving TypeScript these days and I think the decision to support it as a first-class citizen out-of-the-box was a good one (the partnership with Microsoft definitely paid off). But with that said, I think Rob Eisenberg (of Durandal fame) beat the Angular 2 team to the punch in the small space of a year in releasing his framework Aurelia (http://aurelia.io). It is what Angular 2 should have been in my opinion. Nice syntax, convention over configuration and a breeze to use.

Re: Angular 2 Beta released

#150

Congratulations to the Angular 2 team on shipping before Christmas. The estimate was originally somewhere around early 2016, so this is a huge deal for them to get this out before the year was up. Unfortunately, Angular 2 launched into beta too late. In the amount of time that Angular 2 has taken to get to beta, ReactJS has slaughtered the front-end market share (in a good way) and completely taken developers by stor…

> ReactJS has slaughtered the front-end market share (in a good way) and completely taken develo

Do you have a citation for that? I still see tons of user land projects using angular 1.

Post reply on HN