Type-safe TanStack Query integration for Elysia Eden. Like @trpc/react-query, but for Elysia.
Type-safe TanStack Query integration for Elysia Eden. Works like @trpc/react-query, but for the Elysia ecosystem.
Elysia is a fast, type-safe HTTP framework for Bun. Its client library (Eden) provides end-to-end type safety, but lacked a first-class integration with TanStack Query — the de facto standard for server state management in React apps.
This library bridges that gap: you get the full TanStack Query API with automatic type inference from your Elysia server routes.
useQuery, useMutation, useSuspenseQuery, useInfiniteQuery, and moreskipToken support, per-request typed headers, cursor-aware infinite queriesPublished on npm as eden-tanstack-react-query. Full documentation at eden-query.xkel.me. Actively maintained — recent releases ship fixes and features contributed by the community.