3 ms·
Have you ever used React Native, or read anything about it for that matter? It's just JavaScript wrappers for native UI toolkits. Much in the same way there ar
by Benjamin_Dobell 10y ago
Have you ever used React Native, or read anything about it for that matter?
It's just JavaScript wrappers for native UI toolkits. Much in the same way there are Python wrappers, Ruby wrappers etc. The only difference between React Native and someone else's JS bindings is that React Native makes use of a virtual view hierarchy and several other React-isms - which have absolutely nothing to do with the web except in-so-far as that they were first implemented on the web.
Yes, React Native supports an API based on the web's Flexbox API, and view styling similar to CSS - but these are applied to native views. React Native doesn't implement any rendering of its own. However, if anything this is bringing web technologies to native development, they're in no way conflicting with browsers - React Native has nothing to do with a web browser.
As I said, React Native provides bindings for native UI development. Now, whether or not you think that's a good idea is up to you. Swift and Cocoa are generally pretty good, so I can see why iOS devs might steer clear. However, the Android SDK is a complete joke, React Native is significantly more efficient to develop with.
- geoka9 10y ago> However, the Android SDK is a complete joke, React Native is significantly more efficient to develop with. Are there any other reasons for choosing one over the other? Are they similar in terms of what you can do/the performance? With libraries like phonegap/cordova, you have to sacrifice some APIs and the resulting app may be more sluggish. I was wondering if it's the case with React Native.
- tmbsundar 10y agoI have no experience with phonegap/Cordova. But to the first part of your question, please see my answer below/ or above. to another comment.