Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Possible to add a hook to get collection one-time only.

Open
#473 0 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
firebase, react, typescript

Research direction

No files or tests are named. Start by locating the existing document one-time hook and collection-data hooks, then define how the proposed useCollectionDataOnce and useCollectionOnce APIs should behave and whether they need matching tests. Done means the collection hooks provide one-time reads consistently with the existing document behavior.

Written by the indexing model from the issue text.

Description

v5

Hi!

Do you have any plans on adding a hook to read collection data once, like there is for doc data?

Something like:

useCollectionDataOnce and useCollectionOnce

Dominant language
TypeScript
Stars
3.6k
Forks
403
Avg merge
5d 1h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FirebaseExtended/reactfire

All issues in FirebaseExtended/reactfire

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.