I am building a single page app with react, and using devise.
I would like to be able to signout without reloading the page.
Currently following other examples I do an ajax call to the server, run the devise sign_out method, and then finally force the page to reload.
Works but its not nice.
It seems like I have to reset some part of the session on the client when I signout?
Is there anyway to do this?