Repository navigation
effect-api-query: Effect RPC and HttpApi with TanStack Query #12063
Unanswered
ueberBrot
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I’ve just published 0.1.0 of effect-api-query. It builds typed TanStack Query options and cache keys from Effect RPC and HttpApi contracts.
Once the client is set up, a query looks like this:
The contract supplies the input and result types. There’s also support for mutations, pagination, and streaming.
I’m looking for people using Effect with TanStack Query to try it on a real project (besides me). Was the setup straightforward? Does the API feel natural? Is there something your app needs that it doesn’t cover?
Docs and examples · GitHub
All reactions