-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
yarn add @tanstack/react-query
responds with 404
#3790
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
Comments
You can install v4 using |
Maybe we should update the installation docs because it state that you can install the package via |
FWIW this is also occurring for the |
Hey, by any chance is there something going on with the package being only accessible via an Org or something? It is currently not listed on NPM or the Yarn registry. |
It hasn't been released on npm yet, the docs redirect was a mistake. Please be patient and use this in the meantime: |
I am currently on "react-query": "^4.0.0-beta.23" which I installed using
|
I know this is really confusing, so let me try to clear it up: for now, all you need is Both of them work the same way:
devtools are bundled with the lib! once we rollout tanstack query, it will be:
two separate packages, imported separately:
there will be a codemod that automatically transforms all imports. |
Thank you for the clarification @TkDodo
|
here's a working sandbox: https://codesandbox.io/s/boring-thunder-gpw4l9?file=/src/index.js |
IMHO, the problem is the document of pre-release and latest version are misplaced. I could see https://tanstack.com/query/v4 in description and readme. Also, what I need for the latest version is mentioned as beta version(?). The content of
|
A warning in this section of the v4 migration guide would be nice while we are in beta since those packages are still not in production but the guide gives the impression this is already released/functional. |
Is there any date on which stable version 4 will be released? The documentation for version 3 was removed or is not available at the moment either for those who want to stick to version 3. |
Describe the bug
Running
yarn add @tanstack/react-query
per docs yields a 404 error.Your minimal, reproducible example
n/a
Steps to reproduce
yarn add @tanstack/react-query
Expected behavior
Should work
How often does this bug happen?
No response
Screenshots or Videos
No response
Platform
n/a
react-query version
n/a
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: