Commit f2d5008
Fix double metro banner in Bridgeless (#43967)
Summary:
Following up #43943, the metro loading banner is presented twice in Bridgeless mode.
This happens because both the RCTInstance and the RCTHost are listening to the Reload Command and issuing the instructions to refetch the JSBundle and to present the banner.
The RCTInstance should not concern itself with lifecycle events, owned by the RCTHost.
## Changelog:
[iOS][Fixed] - Avoid to show Metro Loading banner twice.
Reviewed By: cortinico
Differential Revision: D558706401 parent 8c3f8b6 commit f2d5008
File tree
1 file changed
+0
-11
lines changed- packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon
1 file changed
+0
-11
lines changedLines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 138 | | |
145 | 139 | | |
146 | 140 | | |
| |||
519 | 513 | | |
520 | 514 | | |
521 | 515 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | 516 | | |
0 commit comments