MCPcopy Index your code
hub / github.com/reactGo/reactGo / configureStore

Function configureStore

app/store/configureStore.js:27–39  ·  view source on GitHub ↗
(initialState)

Source from the content-addressed store, hash-verified

25}
26
27export default function configureStore(initialState) {
28 const store = createStoreWithMiddleware(rootReducer, initialState);
29
30 if (module.hot) {
31 // Enable Webpack hot module replacement for reducers
32 module.hot.accept('reducers', () => {
33 const nextReducer = require('reducers');
34 store.replaceReducer(nextReducer);
35 });
36 }
37
38 return store;
39}

Callers 3

renderFunction · 0.85
client.jsxFile · 0.85
topics-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected