SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Make StatusBarManager use main queue setup (#50113)

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

## 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: D71348559

fbshipit-source-id: 918f145d817866a5d08087c1a4a0e151f783109e
R
Ramanpreet Nara committed
b4775ebb395d4a8c8a3db614c0863d24a7da6dbb
Parent: 2b03fd7
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 3/20/2025, 4:16:05 AM