K
K
KnightForce2017-06-23 08:59:05
React
KnightForce, 2017-06-23 08:59:05

React Native. What happens to the JavaScript layer after being built into production?

After building the application, what happens to the JS layer? Does it remain or is it being replaced with native code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Gushchin, 2017-06-23
@KnightForce

JS code remains - it is launched by a separate thread without blocking the main one (UI rendering). Well, then you communicate with native components through JSX - everything is very similar to working with the DOM (after all, with the exception of refs, react encapsulates working with the DOM tree)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question