4 ms·
Is there any benefit in learning React Native since I have to write for both Android and iOS platform?
by nshung 11y ago
Is there any benefit in learning React Native since I have to write for both Android and iOS platform?
- deleted 11y ago[deleted]
- bgun 11y agoCode reuse - I have an dual iOS/Android React Native app and over 90% of the codebase are generic components. Most of the difference are simply stylesheets, for platform-specific UX. Besides that, there's the incalculable benefit of being able to use the same mental model (to say nothing of programming language) when developing, especially when designing UI components and animations. Even if you had equal skill with building layouts in both systems, there's great advantage in not having to context switch.
- mrspeaker 11y agoAnd having your project live-reload on physical Android and iPhone devices at the same time is so cool!
- Exuma 11y agoIt's beyond amazing imo. Tricky in some areas but I just launched a pretty complex app in 4 months with 100% attention given to both android + ios, and it was just 1.5 developers (averaged over time).
- manuelflara 11y agoWould you mind sharing a link to the app? I haven't seen (that I'm aware of) many apps using React Native.
- sniuff 11y agoYou could take a look at [1] which features the list of apps using react native. [1] https://facebook.github.io/react-native/showcase.html https://facebook.github.io/react-native/showcase.html
- mdc2161 11y agoOur team threw this together in a couple weekends when we were test driving react native: https://itunes.apple.com/us/app/emergency-kittens-adorable/id1071497489?ls=1&mt=8 https://itunes.apple.com/us/app/emergency-kittens-adorable/i... The ability to reuse code is very real, even sharing a lot with a web react app since most state/business logic is in some flux implementation. The pain points (documentation, build process, etc.) are real, too, but things I can forgive for now due to its newness and its very strong foundation.
- fareesh 11y agoThe last time I checked it out, there was no easy way (via some existing component) to do a native dropdown in Android so I gave up. Is there a lot more support for Android these days?
- madeofpalk 11y agoThe mantra is learn once, write everywhere.