Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for enhancing Saga with middleware (or support for Thunk) #644

Open
agusterodin opened this issue Aug 18, 2021 · 0 comments
Open

Comments

@agusterodin
Copy link

I am trying to dispatch a thunk action (which is essentially action creator that returns a promise) using the put effect. TypeScript is not able to infer the return type of the put effect.

My particular use case for this is using RTK query (see: https://stackoverflow.com/questions/68761222/manually-trigger-rtk-query-or-mutation-inside-a-redux-saga-task).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant