Hacker News new | ask | show | jobs
by rpeden 3528 days ago
You're welcome. You're correct that there's no React Native equivalent for Preact.

That might be a point in favor of Angular 2 where you need code that can be shared between mobile and web apps. Nativescript is similar to React Native, and has built in support for Angular 2.

1 comments

I'm not one of a bandwagon jumper, but I have been hearing similarly nice things about Angular 2 being equally as un-opinionated as React in many ways. I just hate losing the momentum that I currently have with React/Rails apps.
One of the nice things is that you don't necessarily have to lose all your momentum.

There's a bit of a learning curve, but you'd find that A2 components are similar to React components, and have similar lifecycle methods. So although some of the specifics about how you do things are different, you can use the same patterns and practices you've been using with React.

That's not to say that you should move to Angular 2. Just that many of the good habits and practices you've developed while using React are portable.