zac anger is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
zac anger @zacanger@mastodon.social
Follow

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.

· Web · 0 · 0

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()