Repository navigation
Commit 88fb470
authored
## Description
On `react-native-windows` with the new architecture,
`UIManager.getViewManagerConfig('getConstants')` in `createHandler.tsx`
logs a soft error from RN's `BridgelessUIManager`, because RNW does not
install the legacy UIManager constants binding. The error is raised
while the bundle is being evaluated, and RNW treats it as an instance
error, which leaves Release builds with a blank screen.
This PR skips the lookup on Windows. The lookup is a Paper-only
mechanism and never returned anything there, so nothing changes for the
other platforms.
Fixes #4587
## Test plan
Reporter verified the same change via patch-package on RNW 0.84 / RNGH
2.33.0, Release MSIX.
1 parent 08f030f commit 88fb470
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
0 commit comments