title: Axios middleware to use in all instances of axios
body: <p>I'm using axios in my react app using <code>import axios from 'axios</code> in many of my scripts. I want to use sort of a middleware that is invoked for all axios calls/errors. How do I approach this?</p>