Closed
Description
Hi, the new docs are great. One question I had while reading the whole middleware section is why does the middleware has to be curried? Why not simply:
var store = <..>;
store.addMiddleware(function(store, action, next) {
var result = next();
// whatever
});
Maybe a quick point explaining in the doc would be helpful.