|
|
|
|
|
by roughcoder
3570 days ago
|
|
If you support ES6/ES7 in your build cycle then we are big fans of the spread operator which can be used instead of _.default, Object.assign. For example: case 'CHANGE_LOCATION':
return {
...state,
location: action.location
}
|
|