Replies: 2 comments
-
i will have a look for how to do it in metro. But you can use the web worker without the bundler support. Just copy paste the worker file into a static directly like where you have images and use directly in the Worker constructor.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is a metro example -
I have not tested it, please test and confirm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I migrated my legacy react native app to new Expo 50 that no longer uses webpack but Metro. The example code to get web worker path that was working under webpack, no longer works in Metro.
Is there a way to initialize jsstore connection using workers under Metro or my only option is to avoid using workers?
Beta Was this translation helpful? Give feedback.
All reactions