Redux's state goes away after a refresh. I was keeping a userToken
object inside the global user
object. But since session should persist after a refresh, I assume there's a better place where I store the token
.
What's the conventional way for redux
to manage sessions? And in this case, where should I keep the token
?