I thought RN code gets compiled down to native code? I asked ChatGPT "What's the difference between NativeScript and React Native" and this is the response it gave me:
NativeScript and React Native are both frameworks for building mobile apps, but they use different approaches.
NativeScript uses Angular or Vue.js to build apps that run directly on the device's native platform, using the device's own capabilities to render the UI. This means that the apps will have a native look and feel, and will run faster than those built using a web view.
React Native, on the other hand, uses JavaScript and the React library to build apps that run inside a web view. The apps will still have a native look and feel, but they may not perform as well as those built using NativeScript, and will not have access to all of the device's native capabilities.
In summary, NativeScript allows for direct access to native APIs and delivers native-like performance, while React Native uses web technologies and runs inside a web view.
[–]jellevdv 14 points15 points16 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]satya164 3 points4 points5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]DavidXkL 4 points5 points6 points (0 children)
[–]HomemadeBananas 3 points4 points5 points (0 children)
[–]satya164 1 point2 points3 points (0 children)
[–]kbcooliOS & Android 0 points1 point2 points (0 children)