7 ms·
> native script is just superior to react native in so many ways Could you elaborate? If true that's amazing!
by pka 9y ago
> native script is just superior to react native in so many ways
Could you elaborate? If true that's amazing!
- jaequery 9y agoi never tried native script so i can't tell you for sure, but i hear that it produces code that works 100% on ios and android, whereas with React Native, it is platform dependent so you still need to modify code here and there to make it work. i'm not sure about performance though, i get mixed signals about it.
- jkulubya 9y agoI wouldn’t say it’s more native, however, NativeScript gives you access to the entire API space of the target platform in JavaScript versus React Native which doesn’t. What this means is that if something doesn’t exist in NS land, you can open the Android or iOS docs and call the required api from JavaScript like so var context = ...; var button = new android.widget.Button(context); button.setText("My Button"); To achieve the same in RN, you have to drop down into Java/Swift/Obj-C and link back to your JavaScript. Same result, different means. See https://docs.nativescript.org/core-concepts/accessing-native-apis-with-javascript https://docs.nativescript.org/core-concepts/accessing-native...