Skip to content

Instantly share code, notes, and snippets.

@cazala
Created July 25, 2018 15:20
Show Gist options
  • Save cazala/6830838c5cb69bc49ba57749c79a3d2e to your computer and use it in GitHub Desktop.
Save cazala/6830838c5cb69bc49ba57749c79a3d2e to your computer and use it in GitHub Desktop.
 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
 })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment