Skip to content

Instantly share code, notes, and snippets.

@hedgerh
Created November 15, 2015 05:47
Show Gist options
  • Save hedgerh/91d01f65e98275ce8039 to your computer and use it in GitHub Desktop.
Save hedgerh/91d01f65e98275ce8039 to your computer and use it in GitHub Desktop.
return {
...state,
key1: [...arr, action.payload.element]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment