-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] Component SystemWordPress component systemWordPress component system[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Required by #33960
Why
The PolymorphicComponent type name can be confusing (and refers to an implementation detail, components polymorphism). WordPressComponent is a better name.
What
We should refactor all of the references to PolymorphicComponent* types (defined in https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/ui/context/polymorphic-component.ts) and rename them to WordPressComponent*
A/C
- Rename all instances of
PolymorphicComponent*types toWordPressComponent* - Potentially add a changelog entry
Metadata
Metadata
Assignees
Labels
[Feature] Component SystemWordPress component systemWordPress component system[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.