Trouble setting tRPC with NextJs App Router
I'm setting up a new with NextJs 13 and using App Router, following this video, https://www.youtube.com/watch?v=qCLV0Iaq9zU&t=968s
But when I'm trying to use
But
And this is my Provider:
Can someone please help me with this?
But when I'm trying to use
useQuery in my application, I have this errrorBut
useMutation works perfectly fine. This is my Client usage:And this is my Provider:
Can someone please help me with this?
YouTubeJack Herrington
Upcoming NextJS course: https://pronextjs.dev
Code : https://github.com/jherr/trpc-on-the-app-router
Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
Discord server signup: https://discord.gg/ddMZFtTDa5
VS Code theme and font? Night Wolf [black] and Operator Mono
Terminal Theme and font? oh-my-posh...
