August 2017
Beginner
374 pages
10h 41m
English
The correct way to update nested data is to copy all levels, as follows:
const workingReducer = (state, action) => { return { ...state, nestedState: { ...nestedState, nestedField: action.data } }}
Read now
Unlock full access