In a React Native app, the JavaScript logic runs in a dedicated thread, while the rest of the app runs in what we’ll call “the native realm.” JavaScript handles the business logic of the application, while the native realm renders the UI and manages device interactions.