dexie-relationships
dexie-relationships copied to clipboard
Imcompatibility when using dexie-observable
Hi there,
I've noticed that when using dexie-observable and dexie-relationships together, an error is raised as soon as you call db.on('changes', (changes) => {}
Uncaught (in promise) TypeError: Cannot read property 'subscribe' of undefined.
To reproduce simply add this import in your file that initializes the Dexie isntance:
import 'dexie-observable';
Thanks!
Any update on this? It's been over 2 years, but I really need an observer. I will log my actions manually for now.