How can I read the following arrow function in English? I can understand that there are 2 parameters namely dispatch and getState. How do I read the remaining part?
How to write it as a normal function?
const apiMiddleware = ({ dispatch, getState}) => next => action => {