T
tRPC

❓-help

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

Ddumb8089/2/2023
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 ://

Looking for more? Join the community!