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

Support React Query V4 aka @tanstack/react-query #10

Merged
merged 4 commits into from
Sep 14, 2022
Merged

Support React Query V4 aka @tanstack/react-query #10

merged 4 commits into from
Sep 14, 2022

Conversation

rametta
Copy link
Owner

@rametta rametta commented Sep 14, 2022

As far as I can tell, in regards to this library, the only change to support v4 is updating the import statement to import from the new package name @tanstack/react-query.

There is a new CLI option to opt into v4, it still defaults to v3 to maintain backwards compatibility for existing users. If you want v4 just use the cli flag -rq-v4 or --react-query-v4

this pr closes #9

@rametta rametta mentioned this pull request Sep 14, 2022
@rametta rametta merged commit a813f2f into main Sep 14, 2022
@rametta rametta deleted the rq-v4 branch September 14, 2022 03:29
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

Successfully merging this pull request may close these issues.

React Query v4 plans?
1 participant