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 <jsnajdr@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
  • 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.