Hello,
My setup is the following. One local db live synced with a remote one.
db.sync(remote, {
live: true,
retry: true
}).on('change', (data) => {
console.log('change', data)
}
I open 2 tabs of my app. When I create a new doc. both the client receive a change update with a 'push' direction.
Is this normal ?
I would like to know when there is a change from the remote so I can notify the rest of my app and send the new docs.