MCPcopy
hub / github.com/dvajs/dva / getExtraReducers

Function getExtraReducers

packages/dva-core/src/Plugin.js:87–93  ·  view source on GitHub ↗
(hook)

Source from the content-addressed store, hash-verified

85}
86
87function getExtraReducers(hook) {
88 let ret = {};
89 for (const reducerObj of hook) {
90 ret = { ...ret, ...reducerObj };
91 }
92 return ret;
93}
94
95function getOnReducer(hook) {
96 return function(reducer) {

Callers 1

getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…