0

I’m trying to combine two different projects. The first is chat app and the second is store app. I have a issue to create the store for the reducers of the projects. How can I add the two reducers to the same store? Thanks




/* chat only */
// const store = applyMiddleware(socketIOMiddleware)(createStore)(reducer);

/* store only */
const store = createStore(rootReducer, applyMiddleware(ReduxThunk));

4

0 回答 0