Better XxxApi
useXxxApi:
- use PollingReducer as a configuration provider
- provide pushAPIs, which update respective state with:
- pushing status
- push result
PollingReducer:
- rename to configurationReducer
- move polling indication to it's respective state
XxxState.polling = 'true/false'
usePolling hook: to provide onSuccess, onFailure callbacks
0
In Progress
0
Uncategorized