-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Milestone
Description
Goal
Create namespaced @wordpress/data store with selectors/resolvers/actions; wire event emission.
Tasks
- Create store config builder
- Implement selectors:
getById,getList,isResolving,hasResolved - Implement resolvers: async fetch with client
- Implement actions:
receiveItems,receiveItem,receiveError,invalidate - Wire event emission
- Unit tests with mocked @wordpress/data
Files
packages/kernel/src/resource/createStore.tspackages/kernel/src/resource/storeConfig.ts
Estimate
1 day (8 hours)
Dependencies
A2
Reactions are currently unavailable