How do you handle this in a React SPA?
In the old non-spa app I am replacing, the server handled this. Each time the user navigated to a new page, the server would check to see if he was still logged in. If not, user is redirected to a login page.
Thinking about how to implement same function on SPA, and it doesn’t seem obvious. How are you guys handling this?