-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support tanstack query v5 #459
Comments
I'm taking a look at this |
v5 also has suspense queries which remove a lot of boilerplate dealing with pending and error states (https://tanstack.com/query/v5/docs/react/reference/useSuspenseQuery). It would be good to support them in zodios, possibly with another boolean flag (suspense: true). |
@nhaustov Adding a boolean to control if it will suspense or not, will goes against the rules of hooks. I can try to work on it @ecyrbe ? Should I make it in the same pull-request ? |
I think it would be great to just get out a release with tanstack query v5 and no support of suspense query. and add the suspense feature in a later pull request. Edit: this would allow current users to just upgrade to query v5. Additional features can be added in a later step. |
Hi, |
Looks like the project is dead. I think it should be removed as a suggestion from the Zodios docs. |
@ecyrbe was busy on another project and is expected to get back early 2024 (readed from twitter) |
It's time to move from a single person project to many people. I hope @ecyrbe sees this. |
See this guide: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5
The text was updated successfully, but these errors were encountered: