Mattèo
Explore posts from serversCan I perform react query queries without using a trpc procedure, using useQuery standalone
Hey, I need to perform a client site request, and I can't implement it with TRPC, so can I use regular useQuery method in my Next.js app ? Will the useQuery will be attached to the React Query context of TRPC ?
2 replies
How to handle Query Errors on client side (show toast on 401)
Hey ! Hope you're doing well ! I wanted to know if someone can explain to me how to handle errors on the client (using Next.js).
I need to handle UNAUTHENTICATED error on client because when a user tries to access a resource I want to display a feedback toast.
Thanks 🙏
3 replies