We’ve noticed that this plugin mutates React props in Grafana. For example, these lines mutates the options and secureJsonData props passed into the React hook.
While this currently works in Grafana, it may not be compatible with future versions and could lead to runtime errors. To ensure long-term stability, we recommend avoiding prop mutation. You can find more details in the React docs:
https://react.dev/reference/rules/components-and-hooks-must-be-pure#props