synthetic-monitoring-app icon indicating copy to clipboard operation
synthetic-monitoring-app copied to clipboard

App plugin: Update to react-router v6

Open leventebalogh opened this issue 11 months ago • 2 comments

Starting from Grafana 10, plugins can start using the v6 of react-router. Overall, react-router v6 aims to simplify route configuration and provide a more flexible and intuitive API for developers.

Why?

We are going to deprecate using react-router v5 in plugins from Grafana 11, and we would like to make sure our internal app plugins are using the v6 version by the time we finish migrating Grafana core itself.

How?

We have created a migration guide for plugins (please see the links below), and also don't hesitate to reach out in #grafana-plugins-platform in Slack in case you have any questions.

leventebalogh avatar Mar 07 '24 15:03 leventebalogh

FYI @rdubrock it looks like there aren't any deadlines for this yet (ref) so I backlogged it - feel free to pull into a cycle at your discretion!

The-9880 avatar Mar 19 '24 18:03 The-9880

Doing this depends on scenes also moving to v6 => https://github.com/grafana/scenes/issues/608

rdubrock avatar Mar 29 '24 18:03 rdubrock