gave_one
tRPC failed on <no-path>: `headers` was called outside a request scope
@Will Lutz I abandoned the T3 stack did stuff manually
I installed the necessary stuff for a next.js app I'm pretty sure you know the stuff with authentication
But the thing I used to replace TRPC is
React server - actions : https://react.dev/reference/rsc/server-actions
React query / TanStack Query v5 : https://tanstack.com/query/latest/docs/framework/react/overview
A good video to explain it : https://www.youtube.com/watch?v=OgVeQVXt7xU&t=314s&pp=ygUVUmVhY3Qgc2VydmVyLCBhY3Rpb25z
9 replies