Why did the usage change in that way?
Bit of a general question. Is there a blogpost or a video talking about that?
I personally liked the old usage in the component much better:
Old
New
I personally liked the old usage in the component much better:
Old
New
Solution
We are excited to announce the new TanStack React Query integration for tRPC is now available on tRPC's next-release. Compared to our classic React Query Integration it's simpler and more TanStack Query-native, choosing to utilize the QueryOptions and MutationOptions interfaces native to TanStack React Query, instead of wrapping useQuery and use...
