dan myles
dan myles•2mo ago

`better-convex-query`

hey i loved the richer usequery from convex helpers however wanted usemutation and eventually a flag to fetch from cache or not, so i went ahead and made my own package for it 🙂 https://github.com/dan-myles/better-convex-query
GitHub
GitHub - dan-myles/better-convex-query: TanStack Query-inspired Rea...
TanStack Query-inspired React hooks for Convex with enhanced developer experience - dan-myles/better-convex-query
5 Replies
dan myles
dan mylesOP•2mo ago
super simple package that just derives a tanstack-like API
ian
ian•2mo ago
Nice! I'm curious - what does refetch actually do, since it's already refetching automatically?
dan myles
dan mylesOP•2mo ago
This is just a stub for people migrating from Tanstack query, it just warns that refetch is automatically handled and that we can disregard it
ian
ian•2mo ago
gotcha - I figured as much. tysm for making it
moosiey
moosiey•3w ago
@dan myles YO this is nice solved my issue of loading spinners on nextjs nav

Did you find this page helpful?