LokiDB
LokiDB copied to clipboard
Autoupdate Collection with Proxy
I'm submitting a...
[x] Feature request
Current behavior
I removed the deprecated function Object.observe from LokiDB.
Expected behavior
Investigate if Proxy could be an alternative to Object.observe so that Collection autoupdate works like in LokiJS.
Object.observe functionality via native Proxy objects: https://github.com/gullerya/object-observer
Thank you for the suggestion.
I think your library has too much features/overhead for us because it tracks what changed and how. We just need a notification that something has changed. But we will surely use this as a technical help because it uses proxies with nested property support.