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?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct