-
I'm trying to get a WebWorker package to work under the new arch. It used to work by initialising a new bridge, then transferring messages between. Assuming this is still an okay approach, how do I get the module registry working? I'm assuming I need the However, when I do add it, I get the message Any pointers? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @jacobp100! Mir contains two branches, one that could guide you through the creation of a backward compatible TurboModule and one for a Fabric Component. In your case, the TurboModule will be more appropriate. You should also have a look at the The New Architecture guide in the website. It contains a bunch of steps that are mandatory to prepare both your library and the receiving app. To support in that, there is this other repo that contains sample migrations from the old architecture to the new one. I hope these resources can help you! |
Beta Was this translation helpful? Give feedback.
-
This is resolved now - I had to add some private headers (https://github.com/jacobp100/react-native-webworker/blob/master/react-native-webworker.podspec#L28) |
Beta Was this translation helpful? Give feedback.
This is resolved now - I had to add some private headers (https://github.com/jacobp100/react-native-webworker/blob/master/react-native-webworker.podspec#L28)