I've implemented a server-side rendering application using NextJS and ReactJS.
When the user login into the application, I want to store some of the user details like access token, refresh token, email address and use it throughout the application. (Kind of storing it globally like how we use local storage on Client side rendering applications)
I'm not using REDUX, so I would like to know the best way of storing those user details without making use of REDUX.
What are the different ways to achieve this while working with SSR?