Next.js WebSockets in App Router: Socket.IO, Custom Servers, and Deployment (2026)
How to add WebSockets to a Next.js App Router app in 2026: Socket.IO with a custom server, Vercel's native beta, managed services like Ably and Pusher, plus the client-side gotchas around 'use client', useEffect, hydration, and route-change persistence.
