Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* 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