-
Notifications
You must be signed in to change notification settings - Fork 8
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
[feat #163] extract react-query usage into custom hooks #182
base: main
Are you sure you want to change the base?
[feat #163] extract react-query usage into custom hooks #182
Conversation
@jorgezerpa is attempting to deploy a commit to the Screenshot Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey @jorgezerpa, thanks for your PR! Could you replace the places where we use react query with your hooks? |
Hey @YohanTz of course! I'll do it🚀 I think it can be ready no later than tomorrow afternoon, but I'll try to make it today |
GN! @YohanTz hooks already implemented, here the files modified and which hook is used: useCollection
useCollectionTraits
useTokenMarketData
useSearchCollection
useSystemStatus
useBalance
usePortfolioStats
usePrices
useCollectionActivity
useTokenActivity
useTokenOffers
useWalletActivity
useWalletCollections
useWalletOffers
useWalletTokens
useCollectionTraitsSuspense
useCollectionTokens
|
Hey @jorgezerpa, thanks! I will try to review as quick as possible 🙏🏽 |
Hi @jorgezerpa, please rebase from main. I'll review and merge once it's resolved. Let me know if you need any more informations. |
Hi @gershon I'll do it fast |
32fd96c
to
8b04c6b
Compare
@gershon Ready here🚀 I found just 2 conflicts on the next files:
add a new queryKey -> buyNow (Already added to the correspondant hook)
|
#163 Create custom hooks for react-query usage:
useQuery:
useInfiniteQuery:
useSuspenseQuery:
useSuspenseInfiniteQuery: