File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/react-native-sandbox/ios Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 99#import < React/RCTConversions.h>
1010#import < React/RCTFabricComponentsPlugins.h>
1111#import < React/RCTFollyConvert.h>
12+ #import < ReactCommon/RCTHost+Internal.h>
1213#import < ReactCommon/RCTHost.h>
1314
1415#import " SandboxReactNativeDelegate.h"
@@ -74,6 +75,10 @@ - (void)updateProps:(const Props::Shared &)props oldProps:(const Props::Shared &
7475
7576 if (oldViewProps.jsBundleSource != newViewProps.jsBundleSource ) {
7677 [self .reactNativeDelegate setJsBundleSource: newViewProps.jsBundleSource];
78+ RCTHost *host = self.reactNativeFactory .rootViewFactory .reactHost ;
79+ if (host) {
80+ [host reload ];
81+ }
7782 }
7883
7984 if (oldViewProps.allowedTurboModules != newViewProps.allowedTurboModules ) {
You can’t perform that action at this time.
0 commit comments