ViliamKopecky
ViliamKopecky11mo 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
kingstarfly2mo ago
Has anyone figured this out yet? Would be awesome if this is possible. 🫡
infodusha
infodusha2mo ago
Can't split link help in your case?