My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

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?