SignalDB is a local JavaScript database with a MongoDB-like interface and TypeScript support, enabling optimistic UI with signal-based reactivity across multiple frameworks. It integrates easily with libraries like Angular, Solid.js, Preact, and Vue, simplifying data management with schema-less design, in-memory storage, and fast queries.
Reason: we should allow unloading resources for collections requiring session and connection / disconnection workflow (such as IndexedDB). Moreover I am developing a IndexedDB adapter that sync multiple tabs through BroadcastChannel and it requires a close() function to disconnect the channel from receiving messages.
Hello Max,
What do you think about adding a method to dispose/unregister a persistance adapter? E.g. (i'm very dubious about naming)
Reason: we should allow unloading resources for collections requiring session and connection / disconnection workflow (such as IndexedDB). Moreover I am developing a IndexedDB adapter that sync multiple tabs through
BroadcastChannel
and it requires aclose()
function to disconnect the channel from receiving messages.