Skip to content

Instantly share code, notes, and snippets.

@alex35mil
Created February 25, 2017 09:39
Show Gist options
  • Save alex35mil/de6c9702f6c2bfb04c83c3613b906305 to your computer and use it in GitHub Desktop.
Save alex35mil/de6c9702f6c2bfb04c83c3613b906305 to your computer and use it in GitHub Desktop.
/* reducer.js */
import state from './state';
import { onModalShow, onModalHide } from './interactions/modalToggle';
// ...
export default createReducer(state, {
...onModalShow,
...onModalHide,
...onMapZoomLevelUpdate,
...onFormStateUpdate,
...onServerStateUpdate,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment