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

Example for using cursor.observeChanges in a Vue component #48

Open
karlitos opened this issue Nov 26, 2018 · 0 comments
Open

Example for using cursor.observeChanges in a Vue component #48

karlitos opened this issue Nov 26, 2018 · 0 comments

Comments

@karlitos
Copy link

I could not find any example of how to use cursor.observeChanges in a Vue component.

Reason

I have a component encapsulating a interactive data visualization. This visualization is not reactive, the data it relies on needs to be transformed first and the layout will be computed subsequently . On the other hand it is possible to perform efficient atomic operations to modify the layout afterwards. This is where cursor.observeChanges comes in handy.

Basically I need automatic subscription with dynamic parameters which will be re-called reactively when the container component props changes. When the subscription is ready I need to create a cursor with dynamic parameter and observe the changes with the observeChanges method.

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

No branches or pull requests

1 participant