Комбинирование редьюсеров
const initialState = {
name: 'Аноним',
}
export function userReducer(state = initialState) {
return state
}const initialState = {
year: 2018,
photos: [],
}
export function pageReducer(state = initialState) {
return state
}

Last updated