SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Make AppState use main queue setup (#50115)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50115

## Rationale
Rendering can now include main -> js sync calls.

If we allow js -> main sync calls during rendering, react native can deadlock.

So, this diff moves the js -> main sync calls to "main queue module setup", which occurs before rendering.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D71348561

fbshipit-source-id: 1c57ba1d40b062712fd53b9dac0bc8ecd60b425d
R
Ramanpreet Nara committed
886319b4bc5a518325e59499a6f3c14036818d16
Parent: b4775eb
Committed by Facebook GitHub Bot <[email protected]> on 3/20/2025, 4:16:05 AM