-
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
Image block: remove a block editor store sub #57232
Conversation
Size Change: -71 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
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 👍 Thanks @ellatrix!
I resolved the merge conflict but there might be additional potential for perf improvements in the code that was merged in the meantime.
Flaky tests detected in f89cc95. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7687625546
|
7457a2a
to
6a91130
Compare
b1586f8
to
f89cc95
Compare
What?
While this may be negligible because there are not usually many image block in a post, it's still good practice to avoid block editor store subscription if they're not needed.
isSelected
, which will be false for a multi selection.Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast