mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 19:13:07 +08:00

* add information to what's new about upcoming react 18 upgrade * update structure * Apply suggestions from code review Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * add docs to plugin migration guide * add link to forum discussion * apply suggestions from review --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
1.5 KiB
1.5 KiB
description | keywords | title | menutitle | weight | |||||
---|---|---|---|---|---|---|---|---|---|
Guide for migrating plugins from Grafana v9.x to v10.x |
|
Migrating plugins from Grafana 9.x to 10.x | v9.x to v10.x | 1900 |
Migrating plugins from Grafana version 9.x to 10.x
Verifying plugin behaviour with React 18
Grafana 10 includes our upgrade to React 18 and use of the new React client rendering API. These changes were delivered to the core grafana
repo with PR 64428.
Whilst this brings us many significant benefits, there's a potential for this to impact the way your plugin works. In particular, there could be unintended side effects caused by the changes around improving consistency with useEffect
timings and automatic batching of state updates.
Recommended actions:
- Review the React 18 upgrade docs
- Test your plugins against one of the latest grafana-dev docker images (for example, this one)
- Add a comment to the forum discussion if your plugin is impacted in any way. Either to socialise the changes needed for your plugin or to reach out and ask for help yourself.