Event Driven Architecture #1811
Unanswered
gradzio
asked this question in
RFC & Proposals
Replies: 2 comments 4 replies
-
hi @gradzio , well you can think of |
Beta Was this translation helpful? Give feedback.
1 reply
-
EventEmitter pattern |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wouldnt it be cool if we could dispatch an event at the end of action handler?
This way we could react to it in a layer above and dispatch appropriate action on the store.
One of the reasons why we decided to drop NGXS in our company is that managing events became very difficult.
So what I propose is that we make new type called Event and make @event() decorator to handle it. It could simply map event payload to action payload and execute same action handler.
What do you guys think?
Beta Was this translation helpful? Give feedback.
All reactions