-
Notifications
You must be signed in to change notification settings - Fork 67
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
Feature Request - Add useRequests hooks #158
Comments
Hey @mili-confluent, this is actually the next step on the roadmap for redux-query-react. Hopefully will have a PR open in the next week or so along with an alpha release. Would love to get your feedback when I open the PR. |
Thank you @rctbusk |
@rctbusk Saw this was in the docs and available, I think, but TS is not finding the exported function (wondering if somehow types are out-of-date?) edit: Indeed it looks like it may be missing here https://github.com/amplitude/redux-query/blob/master/packages/redux-query-react/index.d.ts#L49 I could see if I could whip up a quick PR, hmm. |
I find there is a lot of cancel query warning when I use conncetRequest. It seems we did not return the function correctly so that the finished callback did not really delete the pending key.
|
These PRs are included in the newest version release. 3.3.1. Let me know if this issues are fixed. Closing this issue unless hearing otherwise. |
redux-query-react
has the hook:useRequest
but it did not support requests for multiple requests, so I am planning to create a hookuseRequests
which can send a lot of requests at the same time.The text was updated successfully, but these errors were encountered: