Middleware使ってますか? 以前 Reduxのmiddlewareを積極的に使っていく という記事でMiddlewareの使いどころについて具体的な利用例を挙げました。本稿ではMiddlewareを書く上で役に立つ、もうちょっと掘り下げたTipsを紹介していきます。 ActionがMiddlewareを通り抜ける順番 export const m1 = store => next => action => { console.log('m1', action.type); return next(action); }; export const m2 = store => next => action => { console.log('m2', action.type); return next(action); }; export const m3 = store => nex