juliusmarminge / acme-corp

https://acme-corp.jumr.dev
MIT License
1.12k stars 59 forks source link

TRPC with Tanstack Query #137

Open The-Robin-Hood opened 1 year ago

The-Robin-Hood commented 1 year ago

Describe the feature you'd like to request

feature that allows for seamless integration between React Query and trpc in App dir.

Describe the solution you'd like to see

Currently, using React Query with trpc requires some manual setup and configuration. Including this in template would be more convenient for using trpc. Would love to see how it will be integrated. Tried couple of ways and could succeed if a trpc.provider is used.

Additional information

No response

juliusmarminge commented 1 year ago

Yes!

Just need to get the proper support landed in tanstack. We're working with rhem to get nice DX while keeping the benefits from RSC and the dynamic-y of client side https://github.com/TanStack/query/pull/5598

zbeyens commented 1 year ago

Would love to see the update now that https://github.com/TanStack/query/pull/5598 is merged!

ThimoDEV commented 1 year ago

Also really looking forward to this, keep up the good work!

bricesuazo commented 1 year ago

Looking forward to this update. Thanks!

CsarChvz commented 1 year ago

Looking forward to this update. Thanks!