capajC
tRPC10mo ago
4 replies
capaj

getting type error in the code from https://trpc.io/docs/client/react/server-components

Hey,
has something changed since the doc for server-components was written?

getting
Property 'createClient' does not exist on type '"The property 'useContext' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'useUtils' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'Provider' in your router collides with a built-in ...'.


when I try to createClient on the result from createTRPCReact<AppRouter>().
image.png
Was this page helpful?