Web / React native Interview questions
Explain different Threads in ReactNative.
React native uses 3 threads,
- MAIN/UI Thread, main application thread on which your Android/iOS app is running. The UI of the application can be changed by the Main thread.
- Shadow Thread, layout created using React library in React Native can be calculated by this and it is a background thread.
- JavaScript Thread, Javascript code is executed by this thread.
More Related questions...