Comments (1)
You can do it by yourself like this :
const localStorageSyncReducer = (reducer: ActionReducer<unknown>): ActionReducer<unknown> => localStorageSync(config)(reducer);
const metaReducers: Array<MetaReducer<any, any>> = [localStorageSyncReducer];
const storeModule = StoreModule.forRoot(reducers, { metaReducers });
bootstrapApplication(AppComponent, {
providers: [...(storeModule.providers ?? [])]
});
from ngrx-store-localstorage.
Related Issues (20)
- Get different properties by store
- Fix module resolution issue when importing action constants
- Rehydrating Feature Module using ngrx/entity HOT 2
- npm lib missing readme and license HOT 3
- Unable to save state to localStorage: DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'tempState' exceeded the quota. HOT 3
- Persist reducer states under single key HOT 1
- Rehydration callback
- Angular 14 dependency update HOT 5
- Angular 14 deepmerge warning HOT 9
- Angular 15 support HOT 4
- How to exclude subkeys from ngrx-localstorage by angular service?
- Deserialization of JSON object stored as string fails due to date format.
- custom prefix storageKeySerializer based on app state property in feature metaReducer. HOT 2
- Angular 16 support HOT 6
- Upgrade to node v18 HOT 2
- Angular 17 support HOT 5
- What's version of ngrx-store-localstorage is compatible with angular 16? HOT 6
- Remove deepmerge dependecy to avoid optimalization bailouts HOT 1
- Any chance the synchronization can work both ways?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrx-store-localstorage.