Type error when using useHydrateAtoms #2323
Unanswered
JuanJoEstrada
asked this question in
Bug report
Replies: 2 comments 1 reply
-
Thanks for reporting. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The docs don't mention the need to install @tanstack/react-query only @tanstack/query-core. This is the issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read the docs for incremental adoption of atomWithQuery and added Provider from Jotai and HydrateAtoms component. But there is an error with TypeScript in line 11: No overload matches this call.
However the code works fine in the browser.
Beta Was this translation helpful? Give feedback.
All reactions