I am attempting to implement Code Splitting in a React Native app. At the moment I managed to load a number of bundles in Android each in packager mode and in manufacturing mode.
Nonetheless, on iOS I am going through the next difficulty:
Can not initialize hmrClient twice
.
I am attempting to load the extra bundles utilizing [bridge.batchedBridge executeSourceCode]
which works in manufacturing mode however throws when utilizing the packager.
When trying on the implementation of executeSourceCode
I see that it certainly calls setupHMRClientWithBundleURL
with out checking if it was already initialized.
Is there any method to overcome this difficulty?