ngrx-immer | Immer wrappers around NgRx methods createReducer | State Container library
kandi X-RAY | ngrx-immer Summary
kandi X-RAY | ngrx-immer Summary
Immer wrappers around NgRx methods createReducer, on, and ComponentStore
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 ngrx-immer
ngrx-immer Key Features
ngrx-immer Examples and Code Snippets
Community Discussions
Trending Discussions on ngrx-immer
QUESTION
I am trying to introduce ngrx into a large legacy angular app (upgraded to Angular 11). The app has a giant model, that holds pretty much all of the data and cannot be adjusted as it is widely used in the company.
The idea was to put an instance of the model into the ngrx store and update relevant parts with the help of "immer" and "ngrx-immer".
My problem is, that updating parts of it results in the following errors
...ANSWER
Answered 2022-Jan-24 at 06:58I figured out, that disabling strictStateImmutability
AND strictActionImmutability
solves the problem.
The original problem might have come from annotations on the models setter but I am not sure.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngrx-immer
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