-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Formats: Memoize link value passed to the LinkControl #54603
Conversation
Size Change: +19 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
Flaky tests detected in 1de843b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6236340684
|
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 👍
What?
Same as #53507.
Pass memoized link value to the
LinkControl
component to avoid losing user changes when theInlineLinkUI
component rerenders.I noticed while testing the #54553.
Why?
Referential stability of the
value
object prevents unnecessary value to state sync.Testing Instructions
Screenshots or screencast
CleanShot.2023-09-19.at.17.29.46.mp4