sharemystack icon indicating copy to clipboard operation
sharemystack copied to clipboard

Hooks vs withobservable

Open Hannes1 opened this issue 2 years ago • 0 comments

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 🤔

Hannes1 avatar Feb 13 '24 17:02 Hannes1