-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Block editor: make all BlockEdit hooks pure #56813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Flaky tests detected in 89e37af. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7120073093
|
|
Size Change: +116 B (0%) Total Size: 1.72 MB
ℹ️ View Unchanged
|
What?
A continuation of #56783, which is relevant for all controls added by all hooks: don't re-render panels/controls when irrelevant attributes change, especially content attributes.
Edit: even for paragraph it seems to shave off a couple of %, perhaps because of the content locking and/or anchor/block renaming?
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast