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
Web worker implementation is a little bit shaky. It is currently working now using custom hooks but having issues implementing more the one web worker.
Worker not defined when implementing more than one worker
Worker not define when invoking worker on another component
Possible solutions:
Adding a worker-loader on nextjs config file. Follow this
Making sure of the context where the worker was called or invoked. Worker context is only available where it is called (new Worker(...)). Using new URL(..., import.meta.url) works for worker file location.
The text was updated successfully, but these errors were encountered:
Web worker
Web worker implementation is a little bit shaky. It is currently working now using custom hooks but having issues implementing more the one web worker.
Worker not defined
when implementing more than one workerWorker not define
when invoking worker on another componentPossible solutions:
new Worker(...)
). Usingnew URL(..., import.meta.url)
works for worker file location.The text was updated successfully, but these errors were encountered: