Is this awesome library support tanstack/react-query v4 #827
Unanswered
asifka-ramz
asked this question in
Q&A
Replies: 2 comments 1 reply
-
This library doesn't care what version of TanStack Query you use. I just keep the examples up to date with the latest versions of other libraries. Don't just blindly copy and paste examples. Try to understand them and write your own code for your own needs with your other own libraries. |
Beta Was this translation helpful? Give feedback.
1 reply
-
useQuery provides data a stable reference like useState |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,

Is this awesome library support tanstack/react-query v4 ? and the document mentioned like "make sure that the data is memoized or stable (i.e. useState, useMemo, defined outside of your table component, etc.). Otherwise you may get infinite renders." but in examples using useQuery for data fetching , we can see data fetching call inside the component
but in my case when call data fetching inside component it makes browser stuck and high memory usage, actually i am using custom hook to fetch data using tanstack/ react-query v4.
Is this support react-query v4?
how to use custom hook for fetching data without browser stuck
Thanks
Beta Was this translation helpful? Give feedback.
All reactions