-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 dependencies to block-editor
package in native files within the components
package
#52692
Comments
I think it depends on each case. In general, I feel that most of the above-referenced components/tools under the I noticed that the following items are only imported in the
The other two would need a deeper analysis:
|
Noting that this issue relates to #27751. |
Description
The following native files (i.e.
*.native.js
) are importing the@wordpress/block-editor
package, however, this package is not included in thepackage.json
of the@wordpress/components
package. We should remove these dependencies as their importation could result inundefined
, and to avoid circular dependencies since@wordpress/block-editor
imports@wordpress/components
packagefont-size-picker/index.native.js
mobile/global-styles-context/utils.native.js
mobile/inserter-button/index.native.js
mobile/link-settings/image-link-destinations-screen.native.js
The text was updated successfully, but these errors were encountered: