Bastian S
Bastian S
PD🧩 Plasmo Developers
Created by Bastian S on 11/28/2023 in #👾extension
Whats the best way to communicate between Content Scripts?
I use Plasmo for injecting multiple CSUI scripts into a webpage. For example I use one CSUI to add a button to the toolbar and another one to display a sidebar on the page. Whats the best/easiest way to make the mounted React components from different CSUI scripts to interact with each other? For example, when the injected button is pressed the injected sidebar should be toggled. Thanks!
2 replies