Live data from Hacker News

Angular 2 Beta released

angularjs.blogspot.com

181–190 of 273 posts

Re: Angular 2 Beta released

#181
post #178

Earlier quoted context omitted.

> 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.

Well React approach of composition has reach even others programming languages and communities and with things like redux and react-hot-loader is a game changer.

Really, React invented the idea of composition? Please, tell me more...

Re: Angular 2 Beta released

#182

Earlier quoted context omitted.

> 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.

based on HN hiring posts, more companies ask for React than Angular experience. React growth in 2015 is absolutely stunning. http://www.ryan-williams.net/hacker-news-hiring-trends/2015/...

Is HN hiring posts REALLY representative of the industry as a whole? Seems more like the startup scene and often forgets about all the developers out there in corporations, agencies and other work that don't get represented here.

Re: Angular 2 Beta released

#183
post #140

Earlier quoted context omitted.

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…

Google uses Angular in over 1000 internally and externally facing apps, including some on Angular2 already. They are also on the main trunk, and update on commit. The test suite for Angular at Google actually checks not only the Angular tests, but also all of the tests for all 1000+ apps at Google that use Angular, before allowing it to be deployed.

Re: Angular 2 Beta released

#184
Angular2 wants dependency injection and for that to work well it needs named interfaces and thus ends up with TypeScript as its first citizen language.

This is fair choice but it shows the background of the designers of Angular and that they in some sense really don't grok JavaScript.

Here is a blog from mr. Ruby-on-Rails explaining why DI is a stranger in the Ruby world:

http://david.heinemeierhansson.com/2012/dependency-injection...

With some parallels I think.

Re: Angular 2 Beta released

#185
post #156

Earlier quoted context omitted.

I just checked Datanyze which crawls the Alexa 1m and more to see which services & libraries websites are using. They've detected 234,003 sites using Angular and 2,069 using React.

I think Angular is more accessible than React. I don't think React will be adopted as much by non-engineers. React is usually used alongside significant tooling like babel and webpack/browserify and some flux library. It's probably more complex. You can't just drop some js script file in your HTML document and go with that. I say that as someone who thinks React is the future of JavaScript development and there's no…

Yes you can! We are using requirejs, babel,es6 to have a react setup that runs completely in the browser. But for some reason, react makes this information really obscure.

It works really well. Including breakpoints in chrome,etc.

Re: Angular 2 Beta released

#186
post #156

Earlier quoted context omitted.

I just checked Datanyze which crawls the Alexa 1m and more to see which services & libraries websites are using. They've detected 234,003 sites using Angular and 2,069 using React.

I think Angular is more accessible than React. I don't think React will be adopted as much by non-engineers. React is usually used alongside significant tooling like babel and webpack/browserify and some flux library. It's probably more complex. You can't just drop some js script file in your HTML document and go with that. I say that as someone who thinks React is the future of JavaScript development and there's no…

[deleted]

Re: Angular 2 Beta released

#187
post #166

Earlier quoted context omitted.

> 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.

Yeah, you're right not to trust statements about projects "capturing mind share" and what is "really hot right now" (not intending to quote OP). People get into their little communities and don't realize that they are not at all representative of the larger world. To make something up, I can totally believe that React is really popular in the San Diego startup scene, but it's a mistake to extrapolate that too far in…

As a counterpoint, there are a decent number of people learning it around where I am in southeast Michigan. There was a conference in Detroit, they said that they got a ton of React talk submissions. I used it at a small business print shop, admittedly they just let IT do their own thing.

I think there are probably still more Angular devs, but I'll be interested to see how it evolves in the next few years.

Re: Angular 2 Beta released

#188

Resources for learning Angular2?

[Shameless plug]: I've been writing a book on Angular 2 over the past few months: ng-book 2 [1]. If you want to write your first app, you can get the first chapter of our book for free. You can of course learn Angular 2 from lots of disparate blogs on the internet. There's lots of good resources. But the goal of our book is that you'll be able to learn everything, in-order, in one place. We've been keeping the book u…

I had a positive experience with ng-book for ng1. Although I've only read about half, I found it very useful.

I haven't started using ng2 yet, but if I do decide to learn it i'll be purchasing ng-book 2.

Re: Angular 2 Beta released

#189
post #147

Earlier quoted context omitted.

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".

I disagree. The distinction is worth pointing out, and he's right. Angular is more than just the view layer (directives). It provides the structure for the rest of your app. Other tech like Knockout.js is more comparable to React, as it's only solving the view layer problem.

If you're in New York, and you want to travel to London, you can either fly on a plane, or take a boat ride.

If I am trying to compare the pros and cons of flying vs sea travel, a distinction between the fact that a ship is not an airplane isn't really important.

Two vastly different approaches can attempt to solve the same problem, and they're worth considering on equal ground.

On a side note, when people mention working with React, it's safe to assume (if they're building real software) that they are using React with a framework, whether that be some implementation of Flux or Relay or something else entirely. When comparing Angular to React / Flux you've got yourself an apples to apples comparison.

Re: Angular 2 Beta released

#190
post #130

Earlier quoted context omitted.

I'm pretty sure Google has invested millions more into Angular & the ecosystem than Facebook has into React - they even have a CSM on the Angular team. Even internally the investment seems to be proving vast, as Google even has a production Angular 2 app already (during the painful alpha) & multiple teams publicly pledging to use it, which will probably grow as it becomes appropriate for Google to migrate products to…

I assume he means investment as in how much they use the product. Their two top products, Facebook and Instagram heavily use React. A bunch of Google products do use Angular, but in no way are they the primary products and that probably lends to the less fluid progression.

Google AdWords is not primary enough?!
Post reply on HN