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
{{ message }}
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.
and Thunk describes a feature withExtraArgument which should allow me to include my API Client the same way the getStore and dispatch actions are provided:
Note: I was able to work around this by adding another reducer to my state to provide the client via the getState() endpoint
ntregillus
changed the title
redux-thunk withExtraArgument does not work
can't use redux-thunk's withExtraArgument mechanism with @stencil/redux
Mar 1, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since @stencil/redux has the peer dependency, I expectd that I could use redux middle where Thunk.
However, the MapDispatchToProps method is not handling the middleware's ability to inject another parameter into the delegate.
for example. normal delegate actions looks like:
and Thunk describes a feature
withExtraArgument
which should allow me to include my API Client the same way the getStore and dispatch actions are provided:However the Stencil code is ignoring this middleware.... I was wondering why this doesn't work....
The text was updated successfully, but these errors were encountered: