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

151
Vistas
React Web V9 Firebase real-time database caching/offline

I have a requirement in a react project to use firebase real-time db and sometimes this may be during low or no connectivity.

I know that Firestore has a native offline capability but just wondering how could I make firebase db work offline.

The requirements have quite a heavy R/W workload, so I'm trying to avoid Firestore in this instance.

Should I use something like indexeddb? Has anyone had anything similar? And regarding client side rest data encryption would you recommend something?

Many thanks

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

0

There is no built-in support for persisting data between reloads in the Firebase Realtime Database SDK for JavaScript/web. It does handle intermittent loss of connectivity, as long as the user doesn't reload the page.

If you want to persist data between page reloads, you will indeed have to implement that yourself - for example by storing the snapshot values in indexeddb.

Also see:

  • Does Firebase JavaScript API catch-up with server when re-connected
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