How to preserve the state after browser tab is refreshed in NGXS? Ngrx version of the question is asked here?
You can preserve state using the storage plugin:
https://ngxs.gitbook.io/ngxs/plugins/storage