Working with #tRPC I can definitely tell that #rtkquery was trying to solve the same issue, but it just took forever to setup and lacked docs.
Overall setting up rtkquery with types, transformations and authentication (because it is done client side) was much harder to setup.
Trpc is not really a 1 to 1 to rtkqery it is more of a “yes and”. With #reactquery built into trpc you get the benefit of avoiding the transformation section on server side + type inference to client side