How react native works?

Can someone explain how react native works?

Found a lot of good articles about getting started, components usage, exporting modules.. but,

Googling about how react native works doesn't really help, but this article http://tadeuzagallo.com/blog/react-native-bridge that explains how native modules are exported and what happens when javascript calls them.

.. Still I find it difficult to understand (as a javascript dev) things like, how first render happens on the screen, what are the functions of those 3 threads and how they communicate with each other, what is this javascript event loop, why do we need batched calls and how it is batched, etc..,

Can someone share an article/explain it in a javascript developer perspective?

thanks!

I was going through this link on ReactNative website.

It provides some internals of why batch calls are needed for performance, and the changes are sent over after every iteration of js event loop.

Besides that youtube has some informative videos as well.

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue