Skip to content

Instantly share code, notes, and snippets.

@olslash
Created June 5, 2016 08:42
Show Gist options
  • Save olslash/abd7177efa3edb1ae2849fb7a6d714df to your computer and use it in GitHub Desktop.
Save olslash/abd7177efa3edb1ae2849fb7a6d714df to your computer and use it in GitHub Desktop.
import { createReducer } from 'helpers/redux';
// import { } from 'lodash';
export const namespace = '$NS$';
const ACTION = 'nc/$NS$/ACTION';
const defaultState = {
};
const reducer = createReducer(defaultState, {
});
export default reducer;
function local(state) {
return state[namespace];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment