Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!