Live data from Hacker News

Why I moved from Angular to React

robinwieruch.de

1–10 of 107 posts

Re: Why I moved from Angular to React

#2
React has this intended/unintended side effect of teaching functional programming concepts without making it obvious.

For me, after finding out the core concepts of React (views are pure functions, functional composition etc.) are actually functional programming applied tastefully to rendering, I finally realized the elegance of functional programming, and since than I've been merging these concepts into my programming methodologies.

Re: Why I moved from Angular to React

#3

React has this intended/unintended side effect of teaching functional programming concepts without making it obvious. For me, after finding out the core concepts of React (views are pure functions, functional composition etc.) are actually functional programming applied tastefully to rendering, I finally realized the elegance of functional programming, and since than I've been merging these concepts into my programmi…

You should give Elm a look, then.

Re: Why I moved from Angular to React

#4
All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes."

So I'm asking: what are the best real alternatives that work natively on mobile?

Re: Why I moved from Angular to React

#5

All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes." So I'm asking: what are the best real alternatives that work natively on mobile?

Check out NativeScript, you can use Angular 2 to build native mobile apps.

Re: Why I moved from Angular to React

#6

All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes." So I'm asking: what are the best real alternatives that work natively on mobile?

I think the React Native is pretty cool. React Native doesn't take your web JavaScript and turn it into a mobile app. It is using the React library with the native UI view objects.

Those are two different problems: what is the best framework for our web front-end vs what is the best framework for our iOS front-end. If you want to normalize on React for both, what is the problem that you are solving by doing that?

Re: Why I moved from Angular to React

#7

All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes." So I'm asking: what are the best real alternatives that work natively on mobile?

Check out NativeScript, you can use Angular 2 to build native mobile apps.

I'm still torn, most everyone I have talked too that did a non native app said they would never do it again and would rather do native.

Re: Why I moved from Angular to React

#8

All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes." So I'm asking: what are the best real alternatives that work natively on mobile?

Check out NativeScript, you can use Angular 2 to build native mobile apps.

Or Ionic 2.

Re: Why I moved from Angular to React

#9

React has this intended/unintended side effect of teaching functional programming concepts without making it obvious. For me, after finding out the core concepts of React (views are pure functions, functional composition etc.) are actually functional programming applied tastefully to rendering, I finally realized the elegance of functional programming, and since than I've been merging these concepts into my programmi…

I think that's a big win. With React, you can see the use for functional concepts without having to switch to a functional programming language, or completely divest your codebase of 'friendly' object oriented techniques like class structure and subclassing.

Similarly, I'd give a shout to MobX for showing me how observables can be used in practice. For the longest time I'd wanted to learn it, but I'd choke on the syntax and the generality of common libraries. Showing how MobX worked to simplify React code, gave an instant sense of success and things clicked afterwards.

Re: Why I moved from Angular to React

#10

All these discussions miss the point to me: React can be run natively on Android and iOS. Can Angular? Vue? Elm? It seems like there can't be any real competition when starting a large class of new projects until the answer is "yes." So I'm asking: what are the best real alternatives that work natively on mobile?

React Native is just a renderer https://github.com/angular/react-native-renderer
Post reply on HN