Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Evaluate if we can update to wordpress/components to or 9.0.0 9.2.0 or later #2140

@senadir

Description

@senadir

Is your feature request related to a problem? Please describe.
Currently, we use wordpress-components 8.5 in our project, it introduced a large increase in bundle size since it's not treeshaked, we should aim to upgrade it or remove it completely from our frontend bundle.

If we update to 9.0.0:

  • We get treeshaking, it reduces the bundle size, however dashicon is still included, so we should move away from Panel and Panel body components.

If we upgrade to 9.2.0:

  • We get treeshaking and removed dashicon, we still has to move away from card component since it includes extra dependencies like emotion that increases the bundle size (and bring no value to us).

Metadata

Metadata

Assignees

Labels

focus: performanceThe issue/PR is related to performance.type: cooldownThings that are queued for a cooldown period (assists with planning).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions