title: Display spinner during AJAX call when using fetch API
body: <p>In my project I am migrating to React and so not loading JQuery. Since I don't have JQuery anymore, for AJAX calls I am using fetch. With JQuery I can hook the start and end of AJAX calls so it's very easy to change the cursor to a spinner. I can't find similar hooks in fetch. Is there a way to do this other than changing it in each individual AJAX call?</p>
  
  <p>Lots of Googling just kept finding answers about... JQuery.</p>