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

Did you find this page helpful?