Commit b26e274
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- packages/components
- src/tools-panel/tools-panel
2 files changed
+225
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
0 commit comments