Commit 31d49c3
fix(ios): reload sandbox when jsBundleSource prop changes
RCTHost is initialized with a bundleURLProvider closure that calls the
delegate's bundleURL on every reload. Trigger host reload instead of
recreating the entire factory to pick up the new bundle URL.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 3e06e48 commit 31d49c3
File tree
1 file changed
+5
-0
lines changed- packages/react-native-sandbox/ios
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
0 commit comments