Preparing for system design interviews?  Try bugzed.com →

better-auth-react-query

JSON →
library 0.0.5 ·javascript
verified Jun 17, 2026

A TanStack React Query client wrapper for Better Auth, currently at v0.0.5. This package transforms a Better Auth client into a TanStack Query-compatible client with full TypeScript support. It automatically treats `get` and `list` methods as queries and all other methods as mutations, providing `queryOptions()` and `mutationOptions()` helpers. The package is in early development with no major release cadence. It requires `@tanstack/react-query` >= 5.0.0 and `better-auth` >= 1.4.0. Key differentiators include automatic distinction between queries and mutations, full type inference from Better Auth client configuration, and query key helpers for cache invalidation.

total hits 20
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1
Humans
7

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇬🇧 United Kingdom