-
Notifications
You must be signed in to change notification settings - Fork 5
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
Good Emitter Hygiene? #127
Comments
@splincode But that forces me to have multiple implementations of the same logic, that does not solve what I say |
You need dynamic action type? |
@splincode something like that, because otherwise I would have to do something like that in my state:
|
@arturovt what do you think? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone, I would like to make a proposal or a question.
Recently I saw the video Good Action Hygiene by Mike Ryan and Emitter pattern from ngxs-labs, and I would like to get what Mike Ryan talked about the actions but without the actions.
For example i have this in two different components:
Component Dashboard:
Component BurgerPage:
but I want there to be only one implementation in the state, which in this case would be:
How to have all this but at the same time be able to see in my devtools:
Of course, without defining actions.
If it is not possible at this time, It would be great if I emit a payload and the source from which that payload came out, for example, something like that:
The text was updated successfully, but these errors were encountered: