rtk-query-grpc
JSON →A library that wraps RTK Query to simplify integration with gRPC APIs while preserving TypeScript type safety. Version 1.0.0 is the initial release with a work-in-progress API. It provides a createGrpcDefinition helper that takes a gRPC client and options, and returns a configuration compatible with createApi from @reduxjs/toolkit. Endpoints use builder.query and builder.mutation with string method names and query functions that map gRPC message objects (AsObject) to actual request objects. Key differentiators: eliminates manual serialization, provides type-safe gRPC integration directly within RTK Query's caching and hooks model.
Resources
packagertk-query-grpc ↗