Block editor: Stabilise RecursionProvider and useHasRecursion APIs#58120
Block editor: Stabilise RecursionProvider and useHasRecursion APIs#58120
Conversation
|
Size Change: +68 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
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
RecursionProvidercomponent and its accompanyinguseHasRecursionhook to stable APIs, as they have been in use for three years now in the form of "experimental" APIs (__experimentalRecursionProviderand__experimentalUseHasRecursion).No changes in behaviour nor breaking changes should occur. Consumers can still access the old
__experimental*names, but that will trigger deprecation notices.