How i use 'withChangesForTables' in my project, of the best way ?
See original GitHub issueHello friends, i’m used Watermelon DB in my project react native >= 0.60, and i have a question, how i use ‘withChangesForTables’ in my project, of the best way ?
i’m try this:
import { useDatabase } from '@nozbe/watermelondb/hooks'
export default function Lists() {
const database = useDatabase()
database.withChangesForTables(['lists'], () => {
/// anything
})
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How i use 'withChangesForTables' in my project, of the best ...
i'm used Watermelon DB in my project react native >= 0.60, and i have a question, how i use 'withChangesForTables' in my project,...
Read more >withChangesForTables & experimentalSubscribe usage #1229
Would love to get some help with using the withChangesForTables. ... This code is in my sync provider which is wrapped around my...
Read more >Changelog - WatermelonDB documentation - GitHub Pages
Changelog. All notable changes to this project will be documented in this file. Contributors: Please add your changes to CHANGELOG-Unreleased.md ...
Read more >How i use withChangesForTables in my p.. - W3coded.com
Learn More about : How i use withChangesForTables in my project, of the best way. Increase your Programming Knowledges by use w3Coded. Swipe...
Read more >WatermelonDB | Frontend Framework library
You can install using 'npm i @nozbe/watermelondb' or download it from GitHub, npm. ... have the least restrictions, and you can use them...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Never got around it anymore. Will give it a shot again when our pipeline clears a bit =)
@alexandrumic @uellpalma @Skullcan Did you guys ever figure out how to use it? I looked through the docs but it was really unclear and had no examples haha
EDIT: I got it to work but its not debouncing now