-
Couldn't load subscription status.
- Fork 108
Open
Labels
Description
[Required] Describe the bug
When passing a function to useWorker that has argument destructuring I get the error shown on the screenshot.
[Optional] To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/useworker-argument-destructuring-guznf
- Click on "Run test"
- See error
[Required] Expected behavior
Destructuring function arguments break the worker.
[Optional] Screenshots
This is the error I get in my project:

relferreira
Metadata
Metadata
Labels
Projects
Status
Todo