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
Right now Stores have the responsibility of emitting changes to listeners via the StoreEmitter. When a message is given to a store, it would probably be better to have it simply indicate whether that message should be propagated further upstream/downstream and let the Context pass it on.
This would make pub/sub requirements (if any) completely up to the Consumers, which eliminates the need to create custom StoreEmitters that would probably have logic specific to a given Consumer anyways.
The text was updated successfully, but these errors were encountered:
Right now
Store
s have the responsibility of emitting changes to listeners via theStoreEmitter
. When a message is given to a store, it would probably be better to have it simply indicate whether that message should be propagated further upstream/downstream and let theContext
pass it on.This would make pub/sub requirements (if any) completely up to the
Consumer
s, which eliminates the need to create customStoreEmitter
s that would probably have logic specific to a givenConsumer
anyways.The text was updated successfully, but these errors were encountered: