3 ms·
I think not having access to the latest platform feature is a little bit overstated for a number of reasons. 1) An example: It wasn't too long after iMessage a
by htormey 10y ago
I think not having access to the latest platform feature is a little bit overstated for a number of reasons.
1) An example: It wasn't too long after iMessage apps came out in iOS 10 that tutorials emerged telling you how to use react native to build them, see:
https://medium.com/rendez-voo/messages-app-app-extension-ios10-with-react-native-6d22ece64598 https://medium.com/rendez-voo/messages-app-app-extension-ios...
2) It's really not that difficult to wrap native components and expose them to react native, see:
https://facebook.github.io/react-native/docs/communication-ios.html https://facebook.github.io/react-native/docs/communication-i...
I would say that Android is a little bit more work right now, but it's really not that big of deal.
3) It's easy to embed react native in an existing iOS app. This is great for things like sign up screens, call to action pop ups or other Areas of the app where you want to iterate quickly.
Also animations with react native are pretty nice. I haven't come across anything that I haven't been able to do yet. See:
https://medium.com/react-native-training/react-native-animations-using-the-animated-api-ebe8e0669fae#.sw3wyao3g https://medium.com/react-native-training/react-native-animat...
The biggest issue with react native is that its Javascript which a lot of native developers don't really like especially when compared to Swift.
- pvinis 10y agoI would love to develop an app in React Native using Swift instead of JavaScript. Using Swift, not only for the native modules, but really writing components in Swift. With props and renders and state and everything. Basically I want to use Swift but avoid IB, view controllers, and the whole cocoa rendering.