-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
General Lines
How should offline stuff behave?
- $find()
- $save()
- $delete()
- $get()
$save and $delete()
It should sync once internet is detected again. But what to do on errors? Should we block $save() and keep everything read only?
$find() and $get()
These are easy to implement just need to implement sessionStorage side.
When go offline?
At least in two moments:
When there's no internet connection
using navigator.onLine