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
When dispatching an action from App.Razor without injecting IStore the action will be broadcast from IDispatcher to observers before the store has been created to subscribe and react.
Although this approach should ideally be implemented as an [Effect] for StoreInitializedAction it is still not right that these actions silently disappear.
Suggestion: Throw an InvalidOperationException if IDispatcher.Dispatch is executed when there are no subscribers, with a message telling the user they should not dispatch actions before the store has been initialised.
Changes should be based on branch release/5.4
The text was updated successfully, but these errors were encountered:
* ActionSubscribers are now notified after state has been reduced ([#299](#299))
* Routing middleware will no longer dispatch a GoAction when URl is the same value but formatted differently ([#297](#297))
* `IDispatcher` now queues actions whenever there are no subscribers to the `ActionDispatched` event and then
dequeues them when a subscriber is added ([#301](#301))
When dispatching an action from App.Razor without injecting IStore the action will be broadcast from IDispatcher to observers before the store has been created to subscribe and react.
Although this approach should ideally be implemented as an
[Effect]
forStoreInitializedAction
it is still not right that these actions silently disappear.Suggestion: Throw an InvalidOperationException if IDispatcher.Dispatch is executed when there are no subscribers, with a message telling the user they should not dispatch actions before the store has been initialised.
Changes should be based on branch
release/5.4
The text was updated successfully, but these errors were encountered: