After writing my post a few months ago on building your own redux app, I have been asked a couple times to write a guide on creating redux middleware and how it works. This will be a quick post on how you can acheive anything with your own middleware! ##Basic middleware constcustomMiddleware=store=>next=>action=>{if(action.type!=='custom')returnnext(action)//do stuff!} Applying it: import{createStore,applyMiddleware,}from'redux'importreducerfrom'./reducer'importcustomMiddlewarefrom'./customMi...