Skip to content

Add Offline Suport #9

@klederson

Description

@klederson

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

When user set $offline = true;

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions