erikras / erikras/react-redux-universal-hot-example

Is it possible to replace cookie sessions with localStorage?

Aperta
#653 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
12.1k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am working on an universal app and we cannot depend on cookies. Is it possible to have the user session saved in local storage instead of a cookie?

I know localStorage cannot be used on the server side, so perhaps, the user session could be loaded after server side rendering and before client side rendering. Would this be ok?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.