Is the ngrx store persistent?
问题 Is the ngrx store persistent? In other words can we close the browser reopen it, and retrieve state that was added to the ngrx store? 回答1: Currently ngrx/store doesn't support such functionality. But you can maintain state by using a library like ngrx-store-persist to save data to the browsers indexedDB, localStorage or WebStorage. This library automatically saves and restores ngrx/store's data. You just need to add redux keys that you want to store in the config (see "Usage" section). 回答2: