Block Editor store: refactor controlledInnerBlocks to Set#77094
Block Editor store: refactor controlledInnerBlocks to Set#77094
Conversation
|
Size Change: +19 B (0%) Total Size: 7.74 MB 📦 View Changed
ℹ️ View Unchanged
|
|
Flaky tests detected in 6d0c7be. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24080028296
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Refactors the
state.blocks.controlledInnerBlocksstate to a Set instead of an object. Advantages:clientIdno longer exists, but the state still has a[clientId]: falserecord for itMaybe there is also a performance improvement, but probably not.