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
The issue occurs with connectRequest when query key for the query config returned from mapPropsToConfig is derived from redux state that changed from the request finishing.
Pretty sure this is a race condition due to query middleware dispatching the REQUEST_SUCCESS event before the requestAsync promise is resolved. Since connectRequest has its own state for pending requests, it can get out of sync and cause cancel actions to be dispatched.
The text was updated successfully, but these errors were encountered:
Created from #5 (comment)
The issue occurs with
connectRequest
when query key for the query config returned frommapPropsToConfig
is derived from redux state that changed from the request finishing.Pretty sure this is a race condition due to query middleware dispatching the REQUEST_SUCCESS event before the requestAsync promise is resolved. Since connectRequest has its own state for pending requests, it can get out of sync and cause cancel actions to be dispatched.
The text was updated successfully, but these errors were encountered: