Select Control (Epic): Refactor and consolidate logic #38226
Labels
focus: product management
Related to product creation and editing.
package: @woocommerce/components
issues related to @woocommerce/components
team: Mothra
WC Merchants activation and store management
type: epic
Container issue with high-level description of work that will be done in sprint.
Problem
This issue will act as an epic to house other issues around the
__experimentalSelectControl
and__experimentalSelectTreeControl
components. There are two main issues we're facing with these components:Solution
We should strive to share as much code as possible between these components and break this into meaningful chunks that are reusable.
We can do this with a combination of hooks and pre-made components that handle the default render. If we are careful to decouple the render from the selection logic, we can make these components much more composable reducing limitations moving forward.
This may look something like this:
Issues
Tasks
The text was updated successfully, but these errors were encountered: