What kind of ES6 syntax is this?
{
[ActionTypes.Repo](state, { username, res }) {
/* ... */
},
[ActionTypes.Repo2](state, { username, res }) {
/* ... */
}
Taken from : https://github.com/quangbuule/redux-example/blob/master/src/js/reducers/Repo.js