News for hackers. Stuff that matters.
Re:Angular 2 Beta released by joshfraser on Tuesday December 15, 2015 @07:45PM (#10741598)
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.
Re:Angular 2 Beta released by VeilEm on Tuesday December 15, 2015 @07:51PM (#10741620)
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 chance I will ever go back to separate templates so Angular of whatever version is just automatically disqualified. It would be like going back in time and I do not want to do this.

Re:Angular 2 Beta released by sandGorgon on Tuesday December 15, 2015 @10:53PM (#10742262)
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 by VeilEm on Wednesday December 16, 2015 @12:44AM (#10742614)
It might work for developing, but I don't think it works well for people actually using it, it's too slow.
Re:Angular 2 Beta released by sandGorgon on Wednesday December 16, 2015 @01:52AM (#10742796)
which is actually my point - running it this way helps us do a lot of beta testing internally,etc. Obviously this is not a production strategy, but the way we have written code (with requirejs) is that we can switch between them.

I really hope that React makes this more public - it makes it for quick and dirty prototyping. P.S. love ES6. Performance be damned!!

Re:Angular 2 Beta released by lisivka on Wednesday December 16, 2015 @03:18AM (#10742999)
Care to share your setup? I.e. minimal todo-like application with both direct development and with compilation for production site.
Re:Angular 2 Beta released by sandGorgon on Wednesday December 16, 2015 @12:02PM (#10745571)
Give me a few hours, I'll strip some stuff out.
Re:Angular 2 Beta released by lisivka on Thursday December 17, 2015 @05:37PM (#10755124)
Don't spent to much time on it, because it will be deprecated in few years. :-)
Re:Angular 2 Beta released by coldtea on Wednesday December 16, 2015 @03:32AM (#10743046)
>I think Angular is more accessible than React. I don't think React will be adopted as much by non-engineers.

Both are meant for engineers, if by that you mean developers.

Re:Angular 2 Beta released by jbergens on Wednesday December 16, 2015 @06:49AM (#10743648)
For very small projects you can write react code in one or a few files without babel, webpack/browserify and similar tools. That closes the gap but I agree that angular is easier to just prototype something simple if you're not a developer.
Re:Angular 2 Beta released by Offler on Wednesday December 16, 2015 @02:22AM (#10742858)
Angular 2 also requires that level of tooling (both allow you to use ES5 and don't require tooling but most devs won't use them like that).
Re:Angular 2 Beta released by woah on Wednesday December 16, 2015 @01:05AM (#10742673)
Angular is popular among developers who make products for the kind of person who would install the Alexa toolbar.
Re:Angular 2 Beta released by iSnow on Wednesday December 16, 2015 @03:50AM (#10743093)
That comment reeks of sour grapes.
Re:Angular 2 Beta released by hadadyaniv on Thursday December 17, 2015 @04:10AM (#10750346)
Similartech shows 13,390 websites using React and 248,280 websites using Angular
Re:Angular 2 Beta released by user1241320 on Wednesday December 16, 2015 @06:03AM (#10743499)
I'd love to see those numbers for Ember, Polymer, Backbone and Aurelia.
Re:Angular 2 Beta released by joshfraser on Wednesday December 16, 2015 @02:42PM (#10746716)
52,767 for Backbone and 599 for Ember. Datanyze don't appear to be tracking Polymer or Aurelia yet.
Re:Angular 2 Beta released by hadadyaniv on Thursday December 17, 2015 @04:13AM (#10750356)
according to similartech 927 websites using Ember and 139,844 websites using Backbone