question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can I put `offix` into a Service Worker?

See original GitHub issue

Feature Request

Is your feature request related to a problem? Please describe. Would like to use offix as the single source of truth for my app online and off

Describe the solution you’d like I’d also like to leverage some of the other features of Service Workers (push notifications, keep scripts - e.g., offix persisted across sessions - also uses IndexedDB like idb-localstorage)

Describe alternatives you’ve considered Seems like a match made in heaven. I couldn’t find any such references in the docs/issues/code… just curious if plans are brewing…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wtrockicommented, Sep 24, 2019

Thank you so much. No worries. I think we might explore service workers for more comprehensive use cases. For example we can have fully offline website with service worker and offix together.

1reaction
StephenCoadycommented, Aug 14, 2019

Hi @loganpowell, thanks for reaching out. Would you mind elaborating a little bit with the use cases you envisage? I am trying to discern what advantages it will provide. My experience with service workers is limited but from what I can see (some) of the benefits they provide are automatically handled in offix such as network management, background sync’ing etc.

Any information you can provide would be helpful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Service Worker API - MDN Web Docs
A service worker is run in a worker context: it therefore has no DOM access, and runs on a different thread to the...
Read more >
SharePoint Online service worker functionality - Microsoft Q&A
Hello,. I'd like to understand what SharePoint Online service worker does, and is it possible to register your own service workers?
Read more >
Are Service Workers supported in an Outlook OnSend AddIn?
Service Workers are currently unsupported in addins and any Service Workers ... We track add-in feature requests on our user-voice page.
Read more >
Legislative Update: Designated Public Service Worker
These individuals' residential and familial information is no longer a public record and they can use a redaction form to request that a...
Read more >
Service workers - web.dev
There is only one service worker per PWA, but that doesn't mean you need to place the code only in one file. A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found