Skip to content

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

@JacobMGEvans

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)

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