-
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
Prefix useSimulatedMediaQuery __experimental #24279
Prefix useSimulatedMediaQuery __experimental #24279
Conversation
Size Change: +2 B (0%) Total Size: 1.16 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.
Looks good.
I noticed the linked conversation (#23669 (comment)) mentioned making it unstable, experimental seems ok too, but it might be worth documenting why in the PR.
Experimental = we plan to stabilise it |
Are we ok changing that today without ensuring at least 2 releases backward compatibility in the plugin? |
The alternative being that we just return the string untouched if we deprecate it? |
yes, something like that. searching on wpdirectory.net it seems it's not being used by third-party code. So I'm fine either way. |
Description
Adds the
__experimental
prefix touseSimulatedMediaQuery
.How has this been tested?
Tested locally to make sure the function still works.
Screenshots
Types of changes
Checklist: