This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const namespace = 'shoud_be_unique_for_each_reducer' | |
const MERGE_REDUX_STATE_WITH = `${namespace}---MERGE_REDUX_STATE_WITH` | |
const RESET_REDUX_STATE = `${namespace}---RESET_REDUX_STATE` | |
const initialState = {} | |
export default function reducer(state = initialState, action) { | |
switch(action.type) { | |
case MERGE_REDUX_STATE_WITH: |