Skip to content

Hooks vs withobservable #295

Description

@Hannes1

Firstly, I love the app, and thanks for making this open source. The code you've written is really easy to understand and reusable.

This is a noob question regarding watermelondb. Are there any drawbacks using hooks to observe changes in the database instead of using the withobservable HOC?

Really, like how the hooks are used to talk with the database, I was just wondering if there would be performance drawbacks with large amounts of data and thus a lot of rerenders possibly 🤔

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions