Capabilities of Panel-Plugin with React

Hey,

I’m trying to develop a Panel Plugin for Grafana using React.

I would like to know which API I can use in the plugin to retrieve information about Grafana.

Moreover, I want to know which capabilities the react version of the plugins supports.

For example:

  1. Getting an event of “theme has changed” in the plugin (when the theme has changed in Grafana)
  2. Triggering a method in the plugin when the data mode changed to Table Mode from Time-Series Mode (or vice-versa)
  3. Is there any communication between plugins? can they share data between them? can they trigger methods in each other?

Thanks,
Niv.