Changelog for @signaldb/electron
Added
- Initial release, based on the work of @poeck in #2657. The Electron main process runs the data layer on a storage adapter of your choice (
createElectronHost), and every window gets a data adapter connected to it through aMessagePortof its own (createElectronDataAdapter, withsetupElectronPreloadin the preload script). Collections in the main process use the same data throughhost.dataAdapter. A write from any window or from the main process reaches the live queries of all others, writes are shown optimistically, and only what changed in a query's result crosses the process boundary. Requires@signaldb/core2.1.0 or later.