Docs example of sending a message from MAIN world CS to background throws an error.
When trying to send a message to background thread from MAIN world CS I get this error:
Specifically this example in docs: https://docs.plasmo.com/framework/messaging#:~:text=contents/componentInTheMainWorld.tsx
Plasmo Docs
Messaging API – Plasmo
The Plasmo messaging API is a powerful tool for sending real-time messages between different parts of your extension.
1 Reply
I'm also struggling with this - i've tried a few other methods but nothing seems to be working in the main world. Did you figure it out, @kooraiber?