Three routes, each showing how Next.js behaves when the browser loses connectivity. Toggle DevTools > Network > Offline to try them.
A page with a Suspense boundary around uncached data. Offline, the static shell renders but the fallback sits there with no indication why.
The same page, with useOffline in the Suspense fallback and a top banner. The UI tells you what is going on and auto-resolves on reconnect.
A Server Action form. Click Ping while offline: Next.js queues the action and completes it automatically when you are back online.