Skip to content

Update: add a enabled argument #2

Open
@ticketapp

Description

@ticketapp

Also, it would be very cool to have a enabled field for useDocument and useCollection as with react-query.
Currently what I do is

const [studiesData] = useCollection(
    studiesCollection,
    where('userUid', '==', user?.id || 'DOES_NOT_EXIST')
  );

But the query is still done with "DOES_NOT_EXIST"

Thanks again for your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions