Skip to content
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

Remove __unstableMotionContext from @wordpress/components #67623

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

ciampo
Copy link
Contributor

@ciampo ciampo commented Dec 5, 2024

What?

Requires #67522 to be merged first

Remove the __unstableMotionContext export from the @wordpress/components package.

Why?

As discussed in #67522 (comment), the export is not needed anymore in Gutenberg, and there are no usages in plugins: Looks like there's no usage in plugins: https://wpdirectory.net/search/01JE66GHXATVJHR1K7PQQG074W.

This also reduces the number of __unstable* APIs.

How?

Delete the export.

Testing Instructions

Make sure the project builds correctly and that there are no usages left across Gutenberg and third party plugins.

@ciampo ciampo added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components labels Dec 5, 2024
@ciampo ciampo requested a review from a team December 5, 2024 11:30
@ciampo ciampo self-assigned this Dec 5, 2024
@ciampo ciampo requested a review from ajitbohra as a code owner December 5, 2024 11:30
Copy link

github-actions bot commented Dec 5, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🚀

Base automatically changed from cleanup/remove-framer-motion-context-forwarding to trunk December 5, 2024 12:00
@ciampo ciampo requested a review from ellatrix as a code owner December 5, 2024 12:00
@ciampo ciampo force-pushed the remove/framer-motion-context branch from f4da040 to 126a908 Compare December 5, 2024 13:06
@ciampo ciampo enabled auto-merge (squash) December 5, 2024 13:07
@ciampo ciampo merged commit 3133f56 into trunk Dec 5, 2024
61 of 63 checks passed
@ciampo ciampo deleted the remove/framer-motion-context branch December 5, 2024 13:41
@github-actions github-actions bot added this to the Gutenberg 19.9 milestone Dec 5, 2024
michalczaplinski pushed a commit that referenced this pull request Dec 5, 2024
* Remove unused `__unstableMotionContext` export from `@wordpress/components`

* CHANGELOG

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants