Ask HN: Should I be nervous about using React? I have been using React to build frontends for about 6 months now and I love it. Should I learn Angular2 instead and ditch React because of its sketchy licensing? |
Ask HN: Should I be nervous about using React? I have been using React to build frontends for about 6 months now and I love it. Should I learn Angular2 instead and ditch React because of its sketchy licensing? |
I'd suggest giving Angular 2 a try regardless. It's pretty well thought out, and you might find that a lot of things you need a separate library for are included with A2. It isn't excessively opinionated, though. You can easily plug in tools you use with React (such as Redux) and they work nicely with Angular 2.
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.
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.