Components: Rename PolymorphicComponent
type to WordPress Component
#34291
Labels
[Feature] Component System
WordPress component system
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
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 toWordPressComponent*
A/C
PolymorphicComponent*
types toWordPressComponent*
The text was updated successfully, but these errors were encountered: