import squares from './modules/squares/reducer'
import pieces from './modules/pieces/reducer'
import game from './modules/game/reducer'
+import match from './modules/match/reducer'
const rootReducer = combineReducers({
squares: squares, // main ui slice of the state.
takenPieces: pieces, // taken pieces list.
game: game, // move recording.
+ match: match // game match status
})
Created
July 25, 2018 15:20
-
-
Save cazala/6830838c5cb69bc49ba57749c79a3d2e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment