connect-query-es
connect-query-es copied to clipboard
TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers.
A dedicated connect-query-core package makes it much easier to integrate non-react integrations. The public API of `@connectrpc/connect-query` hasn't changed at all, all the same methods and types are exposed, we've...
Buf Slack link: https://bufbuild.slack.com/archives/CRZ680FUH/p1705412823808149 As discussed on Slack this issue shall track the initial addition of more than just the React variant of Tanstack Query. The v1 release already went...
Currently all the apis exposed depend on context to get the transport. This causes issues with React Server Components. One potential solution to this problem would be to create a...
Less an issue and more of a discussion point. I've noticed the scheme for our generated file structure looks like: ```tsx import { deleteOrganizationByName, listOrganizations, } from "@bufbuild/apigen/buf/alpha/registry/v1alpha1/organization-OrganizationService_connectquery"; ``` I...
Is there any example for interceptor auth that refresh the token whenever it expires. Thanks in advance.
As of version [1.4.1](https://github.com/connectrpc/connect-query-es/releases/tag/v1.4.0), query keys are always generated with their default values populated. While this works really well for preventing duplicate queries, it prevents some use cases of `createConnectQueryKey`,...
Port to v2 of connect and protobuf. User code doesn't change unless using some internal types and functions.
Hi, I am using CRA with protobuf to generate proto files and adding generated proto query `export const getGenericList = { localName: "getGenericList", name: "getGenericList", kind: MethodKind.Unary, I: genericDetailsRequest, O:...
Hey all, awesome project! This is allowing me to easily switch away from `swr` over to using `tanstack/query`. One thing I miss however is the ability to easily update the...
Hey all, I'm playing with the `createConnectQueryKey` and I'm wondering if there is a way to allow TS to better infer the return type when using it in conjunction with...