-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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 definedwhen implementing more than one workerWorker not definewhen 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(...)). Usingnew URL(..., import.meta.url)works for worker file location.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working