3 ms·
I don't think that's a stupid question at all. Ionic uses Cordova [1], which basically launches a browser that runs your web page as an "app". That said, Cordov
by jdormit 10y ago
I don't think that's a stupid question at all. Ionic uses Cordova [1], which basically launches a browser that runs your web page as an "app". That said, Cordova does give you access to native APIs, so you still have access to Bluetooth/camera/whatever. Phone processors and browsers are getting increasingly powerful, so it's totally possible to achieve native or near-native performance in a web view-based app - assuming you properly optimize your JS and HTML. I believe Ionic provides consistent styling, so it's definitely possible to make your app look and feel like a native one.
The real win using something like Ionic is that you can build your app using web tech that works equally well on the phone or in the browser, and that your developers already know. The trade-off is that it becomes more difficult (but certainly possible) to make your app look and feel native.
React Native gives you many of those benefits, but since it compiles to actual native code you can't reuse your code for a browser app.
[1] https://cordova.apache.com https://cordova.apache.com
- n42 10y ago> React Native gives you many of those benefits, but since it compiles to actual native code you can't reuse your code for a browser app. It is entirely possible to reuse your React Native code on the web, especially thanks to projects like react-native-web[1]. [1] https://github.com/necolas/react-native-web https://github.com/necolas/react-native-web
- jrm2k6 10y agoWith react-native, if you isolate your components from your logic enough, (example: use Redux), you can reuse all the logic in a react-native app, and just change the components part, which is usually not that hard, at least on the simple apps I worked on. Another advantage that react-native would have would also be to be able to have native code and react-native code in the same app.