Open SebasGonza opened 8 months ago
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 ?? [])]
});
How can i implement this library in angular 17 with standalone components?