Following the tutorial on YouTube (the one with tRPC), other videos related or the tRPC documentation part on the create-t3 website, it's impossible to follow along because react-query methods are not available anymore.
Even the project setup does not use those methods anymore, leaving us a generated page.tsx with this tRPC call:
Provide environment information
Describe the bug
Following the tutorial on YouTube (the one with tRPC), other videos related or the tRPC documentation part on the create-t3 website, it's impossible to follow along because
react-query
methods are not available anymore.Even the project setup does not use those methods anymore, leaving us a generated
page.tsx
with thistRPC
call:Which I tried to modify as the tutorial in this way:
Getting the following TS error:
Reproduction repo
https://github.com/lorenzocorallo/test-t3-trpc
To reproduce
Scaffolded with the minimal setup possible
Then add the
useQuery
method to the default tRPC call:Additional information
I've encountered this problem in other setups that include combination of NextAuth, TailwindCSS and Drizzle.