Skip to content

Add Offline Suport #9

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions