gave_one
gave_one
TtRPC
Created by gave_one on 4/21/2024 in #❓-help
tRPC failed on <no-path>: `headers` was called outside a request scope
if you do not configure React Query properly you will have headaches
9 replies
TtRPC
Created by gave_one on 4/21/2024 in #❓-help
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
TtRPC
Created by gave_one on 4/21/2024 in #❓-help
tRPC failed on <no-path>: `headers` was called outside a request scope
I never figured it out, but I found a different solution also helps me maintain type safety and ease of use
9 replies
TtRPC
Created by gave_one on 4/21/2024 in #❓-help
tRPC failed on <no-path>: `headers` was called outside a request scope
Also, this is a T3 app
9 replies
TtRPC
Created by gave_one on 4/21/2024 in #❓-help
tRPC failed on <no-path>: `headers` was called outside a request scope
I am new to TRPC
9 replies