Implementing Real-Time tRPC Subscriptions with WebSocket in Next.js 14+
Set up a type-safe WebSocket subscription in Next.js 14+ with tRPC, enabling instant data sync between server and React client.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Set up a type-safe WebSocket subscription in Next.js 14+ with tRPC, enabling instant data sync between server and React client.
I am following this guide to add Docker support to my existing NextJS + TypeScript project and deploy to Google Cloud Run: https://github.com/vercel/next.js/tree/canary/examples/with-docker . However, the build your container step: docker build -t nextjs-docker . keeps failing because it's giving me an error that "stat app/.next/standalone: file does not exi
I understand that Next.js is a Node.js framework that requires server capabilities and therefore, using it for server-side rendering (SSR) could not be hosted on an S3 instance only. However, does that mean that the only alternative is to host the entire app on an EC2 instance, which is significantly more expensive, or is there another midway solution?
Since the default valid time for an access token is 1 hour, I am trying to get refresh tokens to work in my application. I have been stuck with this problem for a couple of weeks now, and cannot seem to fix it. I have verified my refreshAccessToken(accessToken) function to work (where accessToken is an object with the expired token, the refresh token and som
Error simply occured when trying to hit login from @azure/msal-react in Next 13. When I checked the error log, it's coming from core library @azure/msal-react. I also tried with login popup, but the error still same I have code, in my auth.ts export const msalConfig = { auth: { clientId : "afxxxxx-xxxxxx-xxxxxx", authority : "https://login.microsoftonline.co