Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 698 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 698 Bytes

firestore-web-worker

This contains sample implementations of using web workers with persistence in Firestore by using the experimentalForce option provided in the experimental build (See context).

There are 2 sample apps:

  • shared-worker uses a SharedWorker to run a single instance of Firestore that is shared across tabs.
  • localstorage uses LocalStorage to track and manage which which tab is allowed to use persistence (only one tab can use persistence at a time).