ReactJS using cookie while rendering on server side
问题 I am working on a web application and I used this starter kit as base of my project. The problem is that the cookie is not available in server side so I cannot use it for rendering a component in server. I use react-cookie to save the account data after login cookie.save('account', accountData) and retrieve var account = cookie.load('account') it when I need it. I see that the cookie is saved into browser and I can use it in client side after the component is loaded but I need it in server