Jak wypchnąć tablicę w Redux
case ADD_ITEM :
return {
...state,
arr: [...state.arr, action.newItem]
}
Enthusiastic Earthworm
case ADD_ITEM :
return {
...state,
arr: [...state.arr, action.newItem]
}