{"library":"react-query-grpc-gateway","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","grpc","gateway","tanstack","query","react","useQuery","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-query-grpc-gateway","imports":["import { ServiceContext } from 'react-query-grpc-gateway'","import { useServiceQuery } from 'react-query-grpc-gateway'","import { useServiceMutation } from 'react-query-grpc-gateway'","import { sideEffect } from 'react-query-grpc-gateway'"]},{"cmd":"yarn add react-query-grpc-gateway","imports":[]},{"cmd":"pnpm add react-query-grpc-gateway","imports":[]}],"homepage":"https://github.com/dpup/react-query-grpc-gateway","github":"https://github.com/dpup/react-query-grpc-gateway","docs":null,"changelog":null,"pypi":null,"npm":"react-query-grpc-gateway","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}