Data: Consolidate onSubKey (and other helpers) to data module #11201
Labels
Needs Decision
Needs a decision to be actionable or relevant
[Package] Data
/packages/data
[Type] Enhancement
A suggestion for improvement.
A few higher-order reducer utilities have been implemented across Gutenberg to assist with managing
@wordpress/data
store reducer flows. One in particular has now been implemented identically across three modules:onSubKey
:Suggested at #9617 (comment) , perhaps we should consolidate this and other store-related reducer utilities to be an exported function of
@wordpress/data
. We already do this with other utilities suchcombineReducers
.The text was updated successfully, but these errors were encountered: