Post

ooo having a more explicit "are you offline" hook is very interesting, esp with more local first type apps

Next.js@nextjs.org

When the network drops, requests normally throw. The experimental 𝚎𝚡𝚙𝚎𝚛𝚒𝚖𝚎𝚗𝚝𝚊𝚕.𝚞𝚜𝚎𝙾𝚏𝚏𝚕𝚒𝚗𝚎 flag keeps them pending and retries on reconnect. A companion 𝚞𝚜𝚎𝙾𝚏𝚏𝚕𝚒𝚗𝚎 hook reports when you're offline, so you can render some UI to let your users know.

now that’s what i’m talking about, how have i not known of this???