tRPCttRPC
Powered by
dumbD
tRPC•3y ago•
1 reply
dumb

TS Error with React when creating client "useContext" collides ....

when creating the client i get following error:

The property 'useContext' 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 method, rename this router or procedure on your backend." | "The property 'createClient' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'useQueries' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'useDehydratedState' in your router collides with a built-in method, rename this router or procedure on your backend."

Anybody an idea?

With this error i dont get autocomplete anymore because i have to ignore all errors related to it to make my app work ://
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Anyone had this cryptic ts error when creating the client?
Answer OverflowAAnswer Overflow / ❓-help
3y ago
TS(2742) error when trying to create client
ViridianVViridian / ❓-help
3y ago
'react-server-dom-webpack/client' error
OrekiOOreki / ❓-help
3y ago
useContext won't infer type from tRPC client
kosilicaKkosilica / ❓-help
3y ago