dukDukz

Error: No QueryClient set 본문

웹 개발/React

Error: No QueryClient set

헤일리_HJ 2022. 4. 22. 14:30

https://github.com/tannerlinsley/react-query/discussions/1461

 

Error: No QueryClient set, use QueryClientProvider to set one · Discussion #1461 · tannerlinsley/react-query

I am trying to use a simple useQuery Hook however it always produce the above error. I believe this is due to the new updates and changes in v3. How should I be using useQuery in V3 ? Desktop (plea...

github.com

 

세팅 해주자..