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

Updating traffic layout when data has changed #41

Open
maxio89 opened this issue Feb 20, 2018 · 2 comments
Open

Updating traffic layout when data has changed #41

maxio89 opened this issue Feb 20, 2018 · 2 comments

Comments

@maxio89
Copy link

maxio89 commented Feb 20, 2018

My backend serves data using some endpoint, but when data is changed these changes are not reflected in a layout. New nodes don't appear and if metric values are changed I don't see this.
I have to click on a breadcrumb, change the view or refresh the whole page to see the new data.

How to do that automatically? I can see that render() function is called each time the data are changed, but this doesn't trigger any change in a view. Why?

@franpog859
Copy link

I have the same problem. State is updated in Vizceral component, render() function is called with the new traffic data inside but nothing changes on the site automatically. What is the reason?

@franpog859
Copy link

I found something like this:
#7 (comment)
It seems to work!

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

2 participants