Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

128
Vistas
Dexie Live Query and Service Worker

I want to use Dexie within the service worker to sync my data. I also want to use useLiveQuery hook in the React frontend.

Would Dexie automatically update the query if new data gets written in the service worker thread?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If data is written to the database by your Service worker, the React frontend will be notified instantly and update accordingly. Communication goes via BroadcastChannel. If using a legacy Safari browser that lacks BroadcastChannel support, dexie has a fallback so that mutations done in the service worker will be communicated using postMessage(). This is all taken care of by dexie itself.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda