T
tRPC

❓-help

tRPC & redux toolkit query

Aalexvern7/14/2023
Node 18, pnpm, ts, vite, toolkit. Cant find any proper info how to use tRPC with toolkit query; If I do just a simple req in component via client.users.getUser() it works perfect, but with toolkit got this issues.
Aalexvern7/14/2023
res from tRPC
Rrocawear7/14/2023
Sorry I have no idea but you have baseUrl: "/rtpc", should it be "/trpc"
Aalexvern7/14/2023
well, there was few test with baseUrl, non on them returns correct data

Looking for more? Join the community!