from pRegroup2020 Reload when editing offline to avoid losing updates
Show offline status/state with unsaved edits
event
The latest status should be saved in localStorage in case of browser crashes, etc.
Next time you load, you should compare the data on the server with the local data and ask in a dialog, "The local data is newer, which one do you want to adopt?
This page is auto-translated from /nishio/オフライン編集の時にリロードして更新を失わないようにする using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.