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

Reduce size of Instant Results dependencies #2768

Closed
JakePT opened this issue May 17, 2022 · 0 comments · Fixed by #2774
Closed

Reduce size of Instant Results dependencies #2768

JakePT opened this issue May 17, 2022 · 0 comments · Fixed by #2774
Assignees
Milestone

Comments

@JakePT
Copy link
Contributor

JakePT commented May 17, 2022

Is your enhancement related to a problem? Please describe.
As raised on #2756 Instant Results uses a couple of @wordpress packages that are quite large and could be substituted by smaller alternatives.

In particular @wordpress/date is used for displaying result dates, but is a large package that depends on Moment.js, another large package. Also, SlotFills from @wordpress/components is used for active Facet chips, bringing along the whole library, but could be replaced with a manual custom Portals implementation.

Describe the solution you'd like
Replace the large package dependencies with custom or smaller alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants