I am trying to figure out an approach to displaying a loading spinner before each page load. Maybe this is not the best approach I am not sure. I have a spinner class already created, I just want to understand how to best show and hide the spinner class on each page load? Maybe just to start how would I do it in one of my views and then worry about common code later. Thanks in advance !