T
tRPC

Next.js tRPC router separated to edge-runtime and node-runtime

Next.js tRPC router separated to edge-runtime and node-runtime

VViliamKopecky11/9/2023
I would like to separate server into two runtimes - most things can run on edge-runtime, but I have some endpoints that need nodejs api. It is easy to have two vanilla clients, but can i combine two clients into one react-query client?

Looking for more? Join the community!

T
tRPC

Next.js tRPC router separated to edge-runtime and node-runtime

Join Server