Does React Native compile JavaScript into Java for Android?

前端 未结 6 1341
再見小時候
再見小時候 2020-12-05 01:43

When I develop hybrid apps with React Native. Does the JavaScript code I write transform into Java-Code or Java-Bytecode for the Dalvik/ART Runtime when I create an Android-

6条回答
  •  天涯浪人
    2020-12-05 02:14

    The best explanation i saw-

    00:00 - 03:55

    https://www.youtube.com/watch?v=6ZnfsJ6mM5c&t=1228s

    "In react native app after compiled - all the UI(Buttons,Text...) going to get compiled to native code(Java or Objective C) and the JavaScript part is going to stay JavaScript."

    For full explanation -

    08:06-14:10

    https://www.youtube.com/watch?v=qSRrxpdMpVc

提交回复
热议问题