PlasmoHQ / docs

📘 Documentation site
https://docs.plasmo.com
10 stars 45 forks source link

Feedback for “Messaging API” #111

Open nerdo opened 4 months ago

nerdo commented 4 months ago

I'm trying to figure out how to use the messaging api to send query some information from the page in the main world to my extension popup.

It seems like it should be possible but the examples and documentation aren't very clear on what path to take in what scenario and the with-messaging sample code is hard to follow because it includes so many different variations rather than being focused on specific use cases.

It would be better if at least the example messaging scenarios were independent, that way it would be easy to figure out what is actually needed for any given scenario.

I've been trying to figure out how to do this for days and still no luck. Any help or clarification would be appreciated.