+ 2

React Native

I've learnt that i can create native apps using react native but can anyone tell me how it works? does it transpile javascript to java(example for android), and then create dex file, or js files remain the same? thanks in advance:)

9th Nov 2020, 2:25 PM
durian
durian - avatar
4 Réponses
+ 2
In React-native, JS doesn't transpiles to java for android, js files do remains the same. The React-native app is JIT compiled, it uses the JS core(which is VM for JS), this will calls the bridge, then the bridge, which does the communication between ur js code and native apis/modules, native apis/modules does the work and then it finally renders the output on the screen. See this diagram for more clarification: https://i.stack.imgur.com/mToBH.jpg If u want to understand it more in detail, then there is a question same asked at stack overflow, u can go there: https://cutt.ly/EXrm3Yk
12th Nov 2020, 6:00 PM
Mohan
Mohan - avatar
0
ok..i think i got it..thanks
13th Nov 2020, 1:52 AM
durian
durian - avatar
0
hello I wanted your help I am developing a mobile tracking application by react native integrating mapbox and for the moment I have problems to do the tracking from one place to another thank you for confirming the reception and helping me
21st Nov 2021, 12:49 PM
Khalifa Ababacar FALL
Khalifa Ababacar FALL - avatar
25th Jul 2023, 10:58 AM
Bradly Hammer
Bradly Hammer - avatar