+ 1
Does React native code purely converted to java or shift code?
As i have read, through Flutter (dart) and React native (js), i can actually build apps or write code that are cross-plateform supported, meaning that, the code can be translated to native languages of specific plateform like in Android, it will be translated to java/kotlin or in IOS, it will translated to shift. So my question is, does it actually translated to pure native language of specific plateform like java or shift or there is something other, im not aware of.
2 Antworten
+ 1
Himansh
React Native is a JS framework and Java and Swift are programming languages. You can't convert React Native code to Java code rather you can use Java language as a backend language.
+ 1
You are partially right, in the react native code the "views" or the UI components are internally compiled to their native versions (Java for android and Objective C for iOS). The rest of the code is actually JavaScript which remains as it is.