You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, we can remove enter-blog event with the namespace user directly without keeping the reference for handle. It won't affect other listener with the same eventType( enter-blog)
The text was updated successfully, but these errors were encountered:
In practice, I found that using stateman as a mediator for passing message among states is a good idea.
For example.
But , we should kept the reference (
this.handle
above) for listener, beacuse we will remove it when state is leaving.So, if we introduced
namespace
, we can coding like:Now, we can remove
enter-blog
event with the namespaceuser
directly without keeping the reference for handle. It won't affect other listener with the same eventType(enter-blog
)The text was updated successfully, but these errors were encountered: