firebase-js-sdk
firebase-js-sdk copied to clipboard
TODO(multitab): Uncomment when multi-tab is released publicly.
The latest release doesn't have experimentalTabSynchronization enabled in the typescript bindings:
// TODO(multitab): Uncomment when multi-tab is released publicly.
// /**
// * Settings that can be passed to Firestore.enablePersistence() to configure
// * Firestore persistence.
// */
// export interface PersistenceSettings {
// /**
// * Whether to synchronize the in-memory state of multiple tabs. Setting this
// * to 'true' in all open tabs enables shared access to local persistence,
// * shared execution of queries and latency-compensated local document updates
// * across all connected instances.
// *
// * To enable this mode, `experimentalTabSynchronization:true` needs to be set
// * globally in all active tabs. If omitted or set to 'false',
// * `enablePersistence()` will fail in all but the first tab.
// *
// * NOTE: This mode is not yet recommended for production use.
// */
// experimentalTabSynchronization?: boolean;
// }
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
Thanks for sending this over. Looks like I forgot about one of our many typing files. Fix coming.