Sign in
Log inSign up

MERN Starter: Dispatch before the app render's

Shmulik Kaminker's photo
Shmulik Kaminker
·Aug 20, 2017

I try to set the user default language by a cookie in the server with the MERN starter. What is the best way to get the cookie on each request from the server? may be set the state in server.js with the current lang?