geraldodev
geraldodev
TtRPC
Created by geraldodev on 4/22/2023 in #❓-help
is possible to combine next-minimal-starter with react-router-dom ?
Hi, I'm trying to combine https://github.com/trpc/trpc/tree/main/examples/next-minimal-starter and react-router for a spa like is described in https://colinhacks.com/essays/building-a-spa-with-nextjs and I'm getting xt-dev.js:20 TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at TRPCClientError.from (transformResult-6fb67924.mjs:13:1) at eval (httpBatchLink.mjs:211:48) . I tried with create-t3-app too which I got the same result. Do you think what I'm doing is feasible ? react-router 6.10 and next with trpc ?
9 replies