You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a WebWorker module that works by initialising a new bridge for each worker - so each worker gets the RN goodness (fetch etc.)
My current implementation is here (under fabric-example)
However, I'm getting the following issue:
When I open the app, I can scroll the ScrollView normally
When I send a message, it gets sent to the other bridge, and bounced back, as expected
However, after trying to scroll the ScrollView again, it freezes, and I get the following message,
2022-04-10 14:52:23.587720+0100 FabricExample[43059:4237703] [javascript] Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
2022-04-10 14:52:24.588372+0100 FabricExample[43059:4237485] [native] Failed to mount LogBox within 1s
2022-04-10 14:52:24.614862+0100 FabricExample[43059:4237703] [javascript] Invariant Violation: Module RCTEventEmitter is not a registered callable module (calling receiveEvent). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Is what I'm doing not supported by the new architecture, or am I doing something wrong?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pre-fabric, you could initialise multiple bridges
I'm working on a WebWorker module that works by initialising a new bridge for each worker - so each worker gets the RN goodness (
fetch
etc.)My current implementation is here (under fabric-example)
However, I'm getting the following issue:
When I open the app, I can scroll the ScrollView normally
When I send a message, it gets sent to the other bridge, and bounced back, as expected
However, after trying to scroll the ScrollView again, it freezes, and I get the following message,
Is what I'm doing not supported by the new architecture, or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions