Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // return Object.assign({}, state, {
- // articles: state.articles.concat(action.payload),
- // });
- return {
- ...state,
- articles: state.articles.concat(action.payload),
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement