-
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
Block editor: Stabilise RecursionProvider and useHasRecursion APIs #58120
Conversation
Size Change: +68 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.
Nice
Dev noteStabilization of the block editor's RecursionProvider APIContextOriginally implemented as an experimental hook named
As of today, the following core block types use the RecursionProvider API: Changes with WordPress 6.5The API has been promoted to stable, thereby shedding the For more details and a working example, see the component's README.md document.
Backwards compatibilityThe former identifiers — |
Addresses #57672
Promote the
RecursionProvider
component and its accompanyinguseHasRecursion
hook to stable APIs, as they have been in use for three years now in the form of "experimental" APIs (__experimentalRecursionProvider
and__experimentalUseHasRecursion
).No changes in behaviour nor breaking changes should occur. Consumers can still access the old
__experimental*
names, but that will trigger deprecation notices.