Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoupdate Collection with Proxy #110

Open
Viatorus opened this issue Apr 11, 2018 · 2 comments
Open

Autoupdate Collection with Proxy #110

Viatorus opened this issue Apr 11, 2018 · 2 comments

Comments

@Viatorus
Copy link
Member

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.

@gut4
Copy link

gut4 commented Sep 29, 2018

Object.observe functionality via native Proxy objects: https://github.com/gullerya/object-observer

@Viatorus
Copy link
Member Author

Viatorus commented Nov 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants