Skip to content

Commit b26e274

Browse files
jsnajdryouknowriadciampoaaronrobertshawandrewserong
authored andcommitted
useToolsPanel: calculate derived state in reducer to prevent too many renders (#65564)
Co-authored-by: jsnajdr <[email protected]> Co-authored-by: youknowriad <[email protected]> Co-authored-by: ciampo <[email protected]> Co-authored-by: aaronrobertshaw <[email protected]> Co-authored-by: andrewserong <[email protected]>
1 parent 0080898 commit b26e274

File tree

2 files changed

+225
-163
lines changed

2 files changed

+225
-163
lines changed

packages/components/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Bug Fixes
6+
7+
- `ToolsPanel`: atomic one-step state update when (un)registering panels ([#65564](https://github.com/WordPress/gutenberg/pull/65564)).
8+
59
## 28.8.0 (2024-09-19)
610

711
### Bug Fixes

0 commit comments

Comments
 (0)