Ch1nmayaC
tRPC4w ago
Ch1nmaya

migrated to trpc 11, pageprops not available after client side navigation

Before:
NextJs v14 pages router
Trpc v10

Now
NextJS v16 pages router
TRPC v11

  • PageProps are available when page is refreshed
  • Not available after user navigates via Link
One thing I noticed was that post client side navigation using Link component :
before ->
the /_next/data/.../abc.json
returned application/json type response
Now -> it returns text/html type response
Was this page helpful?