Reading view

Hono + React Query made easier — hono-tanstack-query

If you're using Hono for your backend and TanStack Query in your React app, you’ve probably written a lot of fetch wrappers and repeated types between the server and client.

I ran into the same problem, so I built hono-tanstack-query.

It helps connect Hono APIs with TanStack Query so React apps can call Hono endpoints with less boilerplate while keeping everything type-safe.

https://www.npmjs.com/package/hono-tanstack-query

It’s still early, so I’d love feedback, ideas, or suggestions from anyone using Hono or TanStack Query.

submitted by /u/adil6572 to r/reactjs
[link] [comments]
❌