ngx-store | Angular decorators to automagically keep variables | Storage library
kandi X-RAY | ngx-store Summary
kandi X-RAY | ngx-store Summary
Angular decorators to automagically keep variables in HTML5 LocalStorage, SessionStorage, cookies; injectable services for managing and listening to data changes and a bit more.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-store
ngx-store Key Features
ngx-store Examples and Code Snippets
Community Discussions
Trending Discussions on ngx-store
QUESTION
I use a custom middleware (meta-reducer) to print my ngrx-store
each time an action is dipatched. I wrote my middleware directly inside app.module.ts
(where else should I put it ?):
app.module.ts
...ANSWER
Answered 2019-Sep-24 at 15:31You should try by injecting meta-reducers using the META_REDUCERS
token as documented:
(HEADS UP: as of 24.Sept the docs are a bit misleading, the factory method return type should be MetaReducer
and not MetaReducer[]
. Check this example in the codebase)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-store
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page