Closed ustccjw closed 9 years ago
oh, it's my fault. we should return the final action.
so in logger-middleware, we should:
export default function loggerMiddleware(next) {
return action => {
console.log(action)
return next(action)
}
}
we should return payload, then we can get value when call action function as flummox.