How to call useQuery and useMutation in app/api/route.ts?
Hello. Is there a way to use queries and mutations in app/api/route.ts? I am creating an API with Next.js.
2 Replies
Next.js Server Rendering | Convex Developer Hub
Next.js automatically renders both Client and Server Components on the server
Oh, thank you so much!!!