Skip to content

Create a Generic useFirebase and **compose** it in more specific Custom Hooks likeuseWhateverData #80

Description

@JacobMGEvans

https://usehooks.com/useFirestoreQuery/
useCollection is specific, I would rather there is a useFirebase and is composed in more specific Custom Hooks like useCollection, useCharacters, useWhateverFirebaseData, or whatever. Likely the general Firebase logic was put into useCollection due to when it was written it being the only Firebase Query

Originally posted by @JacobMGEvans in #78 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Beginner 🤓Good for newbie to start Raiding!!Items: UncommonPriority: Low 🍃Nice to have, won't effect Raid completion or how fast members move through the dungeons!Type: Refactor 🍂Code Changes - No Feature & No significant rewrite

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions