convex@1.26.0 is out! Briefly, it
convex@1.26.0 is out! Briefly, it includes staged indexes,
ConvexReactClient.prewarmQuery({query, args})
, experimental expectAuth
option for Convex clients, a change the default permissions for the local MCP server that access to production deployments is now disabled by default, and a new local MCP server tool "logs".5 Replies
What would be a difference between say prewarmQuery vs with the Tanstack Query integration calling prefetchQuery?
Not much, although the default "gcTime" in the TanStack Query integration is like 30 seconds while the prewarmQuery default is 5 seconds
But the point of prewarm is to bring this to non TanStack Query users
any docs on prewarmQuery? can't find it on docs.convex.dev
can you please provide usage scenarios? thanks