Does React Native compile JavaScript into Java for Android?

前端 未结 6 1309
再見小時候
再見小時候 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:08

    The code remains the JavaScript native code and is not converted into any other format. The hybrid apps run inside the native container app which invokes JavaScript run time engine which takes care of executing the JavaScript code. I hope this clarifies the question.

提交回复
热议问题