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).