-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observable updates aren't reflected in templates #112
Comments
I'm using a library that provide an already created redux store But this means there's 2 instances of Redux in my app:
Isn't it a conflict here ? I mean angular-redux listen on methods of the bad redux ? |
It start to be really crazy.
Even in this case the rendering is failed... Noone already envounter this problem ?
|
OK after loooong search I found the problem, and it seems a pure angular issue This code is working:
The reason is that the action origin is out of angular application. Will open a defect in angular and close this one. |
It seems the reason is I provide to angular-redux an externally created store. |
@paztis That's quite the journey you had. I think the bigger question is how to get more people managing this repository because it seems pretty dead at the moment. |
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version: 12.13.1
Typescript Version: 3.7.5
Angular Version: 9.0.1
@angular-redux/store version: 10.0.0
@angular/cli version: (if applicable)
rxjs: 6.5.4
OS: Windows
Link to repo showing the issus
(optional, but helps a lot)
Expected Behaviour:
In below sample, redux observable updates are not displayed in the templates.
state.loader.counter is a number that is increased each second.
The console log well display the new value each second.
We only see the first value on the screen
If I replace the select decorator with a classic selector in the
ngOnInit
, result is the sameIf I put a classic Observable, rendering is working correctly
The text was updated successfully, but these errors were encountered: