How to write a query that streams every changes, even when state hasn't changed ? #773
-
Thanks to the documentation, I know that
In my usecase, I would like to create a query that streams every changes, even when state hasn't changed. If not, what can I do to make sure I do it right? I'm aware it's a noobish question but i'm new to the RXJS world, and sorry to ask it here, but the gitter is pretty dead (so is the Akita channel on the Angular Discord server). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What is the use case? |
Beta Was this translation helpful? Give feedback.
-
To simplify : I have an entity store with a global UI State :
I can update it with this method :
In my component I listen for changes on the The thing is, I need to do things every time the value is updated, sometimes it can be "top" twice in a row, but for now, the way I do it, nothing is streamed if its the case. (because of distinctUntilChanged()) |
Beta Was this translation helpful? Give feedback.
What is the use case?