need to ask DB
Securing React Redux Apps With JWT Tokens

Although to be fair if you are using session cookies you could store the user information in a user session object on the server. Of course this complicates scaling (session management across cluster) and consumes more resources on the server (memory) so I’m not saying it’s a better option.

I think using tokens does get you thinking differently about the server side if you are coming from a traditional server maintained session backend.

Like what you read? Give Johan Steenkamp a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.