3 ms·
> Google Inbox shares 70% of its code across Android, iOS, and Chrome In case you are starting now with a new app then i think the best bet would be to use Rea
by mandeepj 12y ago
> Google Inbox shares 70% of its code across Android, iOS, and Chrome
In case you are starting now with a new app then i think the best bet would be to use React native where you would get to reuse 100%[1] code across the platforms.
Google wrote separate UI code for each platform but react native does that conversion also by itself and leaves you with even lesser work\code
[1] - as claimed by react team
- notduncansmith 12y agoI don't believe this was claimed by the React team. In fact, I distinctly remember Tom emphasizing that they're going for "learn-once, write-anywhere" rather than chasing the pipe dream of "write-once, run-anywhere".
- UberMouse 12y agoWith React Native you still need to write the UI for each platform. But you can share the models/business logic between platforms because it's all Javascript.
- dangoor 12y agoReact Native provides the React way of managing the UI and provides a bridge to Objective-C (and Java, once they've released the Android version). It doesn't provide JS bindings to all of the host APIs in a cross-platform way, so you can't just build a full featured app in JS and run it elsewhere. Plus, the React people stress that you should use custom UI on each platform. The key is that you get to build the UI using the techniques that work so well for the web.