You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
In an Electron project I am creating the RXDB database through Electron's remote. My use case includes having multiple windows, so ideally, I'd start the DB on the main process and expose it to my renderer process, instead of starting a new database process for each window (leaderElection does not seems to work when it comes to multiple Electron windows, so that's off the table).
However, passing the DB object from main to renderer process seems to break this package. I can still interact with the database normally. It's just that all hooks from rxdb-hooks fail silently.
I have created a small sample project to demonstrate this.
Any insight would be most helpful.
Thank you very much for your time.
The text was updated successfully, but these errors were encountered:
Hello,
In an Electron project I am creating the RXDB database through Electron's remote. My use case includes having multiple windows, so ideally, I'd start the DB on the main process and expose it to my renderer process, instead of starting a new database process for each window (leaderElection does not seems to work when it comes to multiple Electron windows, so that's off the table).
However, passing the DB object from main to renderer process seems to break this package. I can still interact with the database normally. It's just that all hooks from rxdb-hooks fail silently.
I have created a small sample project to demonstrate this.
Any insight would be most helpful.
Thank you very much for your time.
The text was updated successfully, but these errors were encountered: