ngrx-store-localstorage icon indicating copy to clipboard operation
ngrx-store-localstorage copied to clipboard

Simple syncing between @ngrx store and local storage

Results 58 ngrx-store-localstorage issues
Sort by recently updated
recently updated
newest added

I'm using this to persist my data : ``` export function sessionStorage(reducer: ActionReducer): ActionReducer { const config: LocalStorageConfig = { keys: ['token', 'user', 'isLoggedIn'], rehydrate: true, removeOnUndefined: false }; return...

It's obvious that state saved in the local storage may become outdated. Maximum lifetime for the cache in my application is 30 min. I would like to have an option...

Title is probably self explanatory. All methods of Storage interface return Promise in that case

Would it makes sense, and in any case could it be implemented, a functionallity that checks the state saved to localstorage periodically and triggers the selectors for the parts of...

enhancement

my sync config: ```ts const localStorageSyncConfig: LocalStorageConfig = { keys: [{ appState: ['mode'] }], rehydrate: true, storageKeySerializer: (key: string) => `ngrx-sync-${key}`, }; ``` my store (relevant piece) ```ts export const...

feature stores

I'm using NGRX's `createFeature` for some of my store feature slices. However, when I use ngrx-store-localstorage to save anything from those feature slices, the merge reducer overwrites my initial state...

feature stores
known workaround

Would be good to address at least the critical ones. ``` 28 vulnerabilities (13 moderate, 13 high, 2 critical) To address issues that do not require attention, run: npm audit...

help wanted
dependencies

Upgrade to the latest LTS version [before node 18 reaches EOL around April 2025](https://nodejs.org/en/about/previous-releases) - [ ] `@types/node` - [ ] `.nvmrc` - [ ] `.circleci/config.yml` - [ ] Anything...

dependencies
good first issue