react-query-grpc-gateway
JSON →A React hook library that simplifies calling gRPC Gateway endpoints using TanStack Query. Current stable version is 2.0.0, with active development on GitHub. It provides `useServiceQuery` and `useServiceMutation` as drop-in replacements for `useQuery` and `useMutation`, allowing request configuration (headers, auth tokens, path prefix) to be propagated via React context. Key differentiators: works with generated TypeScript clients from protoc-gen-grpc-gateway-ts, includes `sideEffect` helpers for managing optimistic updates and cache invalidation across related queries.
Resources
packagereact-query-grpc-gateway ↗