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

Use Object.observe #1

Open
compiledpanda opened this issue Aug 20, 2015 · 1 comment
Open

Use Object.observe #1

compiledpanda opened this issue Aug 20, 2015 · 1 comment

Comments

@compiledpanda
Copy link
Member

This would allow us to only modify the in-memory portion and (optionally) update the persistent backend. This would also allow for synchronous access to the graph.

All reads/writes would be sync, and init would be the only non-sync op.

This would only be worth it when object.observe hits the main browsers.

@compiledpanda
Copy link
Member Author

Since observe doesn't automatically observe nested objects, consider using https://github.com/aheckmann/observed

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

1 participant