Hi, I’m creating grafana panel plugin and I’m defining react version as 18, but when used in grafana it uses React version 16. My dependencies need react 18. How can I change it?
Hi.
The method Yosiasz mentioned will work but keep in mind, react is a dependency provided by the Grafana runtime. so even if you manage to change your own grafana development clone to a newer react, if you try to load your plugin in other grafana instances they’ll be using the default one (which at the time of me writing this is 16).