useOffline demo

Three routes, each showing how Next.js behaves when the browser loses connectivity. Toggle DevTools > Network > Offline to try them.