MAIN/UI Thread — This is the main application thread on which your Android/iOS app is running.
The UI of the application can be changed by the Main thread and it has access to it.
Shadow Thread — layout created using React library in React Native can be calculated by this and it is a background thread.
JavaScript Thread — The main Javascript code is executed by this thread.
React Native right now uses 3 threads:
MAIN/UI Thread — This is the main application thread on which your Android/iOS app is running. The UI of the application can be changed by the Main thread and it has access to it.
Shadow Thread — layout created using React library in React Native can be calculated by this and it is a background thread.
JavaScript Thread — The main Javascript code is executed by this thread.