UNPKG

@react-firebase/firestore

Version:

Efficiently Render & mutate Firestore data in your react(or react-native) app.

12 lines (11 loc) 518 B
import * as React from "react"; import { FirestoreContextConsumerWithLifeCycleProps } from "../types"; export declare class FirestoreCollectionContextConsumerLifeCycle extends React.Component<FirestoreContextConsumerWithLifeCycleProps> { listenToNode(): void; stopListeningToNode(): void; componentDidMount(): void; shouldComponentUpdate(nextProps: FirestoreContextConsumerWithLifeCycleProps): boolean; componentDidUpdate(): void; componentWillUnmount(): void; render(): null; }