does anyone have a pointer to a blog post or whatever on implementing "you seem to be offline, wanna reload?" type messaging on the web? i know i've seen stuff around but it's hard to google for.


i know we base on navigator.onLine, but i'm sure there are best practices for this kind of thing besides just
if (!navigator.onLine) showTryReloadingMessaging()

Sign in to participate in the conversation

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!