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 unused wp-nux css dependencies. #3910

Closed

Conversation

peterwilsoncc
Copy link
Contributor

@peterwilsoncc peterwilsoncc commented Jan 26, 2023

Alternative approach to PR #3775 for deprecating nux WordPress/gutenberg#46110

In the discussion for the original pull request, it seems the wp-edit-post and wp-editor styles no longer require the wp-nux css file as a dependency.

This removes the CSS dependencies while retaining the JavaScript to ensure JavaScript continues to function for extenders still using the nux package. As the styles are not needed, this will see a small performance gain for most WordPress installs.

Trac tickets:

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

@peterwilsoncc Makes sense to me. Would be great to also get @youknowriad's feedback on this.

@youknowriad
Copy link
Contributor

youknowriad commented Feb 28, 2023

Well obviously, that's the minimum we should be doing. I think it's not enough and we discussed this over and over again already though.

@peterwilsoncc
Copy link
Contributor Author

Merged in r55628 / 8a6afdd

@peterwilsoncc peterwilsoncc deleted the fix/css-dependencies-nux branch April 4, 2023 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants