HuolalaTech / react-query-kit

🕊️ A toolkit for ReactQuery that make ReactQuery hooks reusable and typesafe
MIT License
355 stars 11 forks source link

useSuspenseQuery error updating react-query-kit #40

Closed AngyDev closed 11 months ago

AngyDev commented 11 months ago

I'm trying to update the react-query-kit version from 2.0.7 to 2.0.8 but I have the following error in the build The requested module '@tanstack/react-query' does not provide an export named 'useSuspenseQuery'. I'm also using "@tanstack/react-query": "4.36.1".

Is there a way to fix this issue? Should I update the version of tanstack/react-query?

liaoliao666 commented 11 months ago

You can try the belown version that maybe work to you.

yarn add react-query-kit@beta
AngyDev commented 11 months ago

Thanks, it's working with that