ViliamKopecky
ViliamKopecky13mo ago

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

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?
2 Replies
kingstarfly
kingstarfly5mo ago
Has anyone figured this out yet? Would be awesome if this is possible. 🫡
infodusha
infodusha5mo ago
Can't split link help in your case?