Angular 5 Ngrx State lost during browser page refresh
I am new to angular 5 and Ngrx, some how i managed to implement a login functionality, once login is success i am taking the user to dashboard. But if I refresh the page the user state seems to be lost. How to make the user state persistent even the page reloads ? How to make the user state persistent even the page reloads? as @user184994 Mentioned NGRX state is only held in memory. If you want it to persist between page refreshes Go for LocalStorage or sessionStorage localStorage and sessionStorage accomplish the exact same thing and have the same API, but with sessionStorage the data is