News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by 5trokerac3 on Wednesday August 09, 2017 @09:17AM (#14968409)
I left React for Angular 4 this year, because I came to the realization that once I made the decision to leave the loosie-goosie world of default JS, there was no reason to have my framework be loose either.

I'm really loving the confines of a "one way to do it" framework like Angular 4. It makes teamwork much easier, speeds up development once you've gotten over the learning curve, and is damned impressive when it comes to app performance.

I'm really looking forward to the day when TypeScript platforms like Angular 4 compile down to WebAssembly and performance goes through the roof.

Re:JavaScript for People Who Hate JavaScript by pps on Wednesday August 09, 2017 @12:46PM (#14971051)
> I'm really looking forward to the day when TypeScript platforms like Angular 4 compile down to WebAssembly and performance goes through the roof.

You will be disappointed https://github.com/WebAssembly/design/issues/219

Re:JavaScript for People Who Hate JavaScript by 5trokerac3 on Wednesday August 09, 2017 @03:29PM (#14972722)
> We have spoken with the TypeScript team about this possibility and they have shown interest, but it seems like progress there is currently gated on adding typed objects into JS.

Once JS has typed objects, I think it can become as much of a valid compiled language as anything else. I'm still holding out hope.

Re:JavaScript for People Who Hate JavaScript by pps on Thursday August 10, 2017 @06:34PM (#14984989)
Sorry to be a party pooper again, but https://esdiscuss.org/topic/es8-proposal-optional-static-typ... and https://ecmascript-daily.github.io/pages/status-of-static-ty... ... I'd like to see that myself, but what can you do... I'm learning Rust instead to use this in wasm. With new webpack initiative https://medium.com/webpack/webpack-awarded-125-000-from-moss... it's looking good.
Re:JavaScript for People Who Hate JavaScript by pbowyer on Wednesday August 09, 2017 @02:44PM (#14972331)
> I'm really loving the confines of a "one way to do it" framework like Angular 4. It makes teamwork much easier, speeds up development once you've gotten over the learning curve, and is damned impressive when it comes to app performance.

I found thinking about apps easier in Angular too, being that bit more of a conventional system (for want of a better term) than React. Decomposing everything into a component (as I should in React) is a new skill, and will take some thought for me to get right. I started sketching it out for a personal project and went with VueJS so I could get it done quickly.

mobx fascinates me and I will be trying that - with Angular, with React, with anything it goes with.

Re:JavaScript for People Who Hate JavaScript by kneedeepclunge on Wednesday August 09, 2017 @10:06AM (#14968943)
how well does Angular perform on production?

as far as i know, React is used more widespread

Re:JavaScript for People Who Hate JavaScript by pbowyer on Wednesday August 09, 2017 @02:40PM (#14972298)
We used Angular inside Ionic for an iOS app. Performance is OK, but I can't tell you if a different JS framework would be faster, or if it's a device/Ionic limitation. The main problem has been with rendering large sets of data (say 100+ items) in a scrolling list.
Re:JavaScript for People Who Hate JavaScript by 5trokerac3 on Wednesday August 09, 2017 @12:30PM (#14970926)
It's blazing fast. IMO React is more widely adopted, because it's been production ready for longer and because of the whole Angular PR debacle.

Once the platform development settles down (v2 -> v4 anyone?), I think it'll be the clear option for enterprise level development.

Re:JavaScript for People Who Hate JavaScript by calafrax on Wednesday August 09, 2017 @02:10PM (#14971987)
horribly.