Use Spread Object Literals to Merge

Copies properities from two objects and merge into one new object

const userToken = action.data
return {...userToken, ...state}
// in place of
const newUser = state
newUser.token = userToken.token
return newUser

Source -> MDN Spread Syntax