MCPcopy
hub / github.com/reduxjs/redux / replaceReducer

Function replaceReducer

test/typescript/enhancers.ts:80–82  ·  view source on GitHub ↗
(nextReducer: Reducer<S, A>)

Source from the content-addressed store, hash-verified

78 return {
79 ...store,
80 replaceReducer(nextReducer: Reducer<S, A>) {
81 store.replaceReducer(wrapReducer(nextReducer))
82 }
83 }
84 }
85

Callers

nothing calls this directly

Calls 2

wrapReducerFunction · 0.85
replaceReducerMethod · 0.80

Tested by

no test coverage detected