Interface UseDocumentDataOptions<AppModelType>

Options to configure the subscription

interface UseDocumentDataOptions<AppModelType> {
    initialValue?: AppModelType;
    snapshotListenOptions?: SnapshotListenOptions;
    snapshotOptions?: SnapshotOptions;
}

Type Parameters

  • AppModelType = DocumentData

Properties

initialValue?: AppModelType
snapshotListenOptions?: SnapshotListenOptions
snapshotOptions?: SnapshotOptions