get-convex/convex-react-query

Non-reactive queries with useQuery

thomasballinger opened this issue · 1 comments

If you want to use TanStack Query polling etc. with a Convex query you should be able to — you can today with the http client, at least this should be documented.

This works for actions now, useQuery(convexAction(api.foo.bar, {})) is a good old non-reactive polling React Query thing.