Skip to content

Commit

Permalink
useToolsPanel: calculate derived state in reducer to prevent too many…
Browse files Browse the repository at this point in the history
… 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]>
  • Loading branch information
6 people authored Sep 24, 2024
1 parent 69d77a1 commit 842f67d
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 163 deletions.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fixes

- `ToolsPanel`: atomic one-step state update when (un)registering panels ([#65564](https://github.com/WordPress/gutenberg/pull/65564)).

## 28.8.0 (2024-09-19)

### Bug Fixes
Expand Down
Loading

0 comments on commit 842f67d

Please sign in to comment.