How to Keep NgRx State On Refresh

added by JavaScript Kicks
11/11/2020 11:21:59 AM

1298 Views

It's a common requirement: persisting NgRx state in order to load it back up when your Angular application is restarted. This process of populating an empty object with domain data is called re-hydration. While it's common to persist the store data to the browser storage (mostly localStorage ), you might also re-hydrate from a server-side cache.


0 comments