-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block Editor: Combine selectors in the 'BackgroundImagePanelItem' component #57159
Conversation
Size Change: +2 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in be7dbf9. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7248067778
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested manually too: setting/uploading/resetting background images work as expected
Thanks for the testing and reviews, folks 🙇 |
What?
A micro-optimization. PR combines two
block-editor
store subscriptions into one for theBackgroundImagePanelItem
component.Why?
Reduces the number of store subscriptions each time the panel is rendered. See #54819 (comment).
Testing Instructions
Testing Instructions for Keyboard
Same
Screenshots or screencast