You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When viewing a device, the visualization component makes continual requests to the server for redundant information. This is not noticeable for the user, but it could lead to completely unnecessary server strain.
Expected behavior
The component only request the data once, or the data state is pulled up to the parent component.
To Reproduce
Steps to reproduce the behavior:
Running Spool locally
Create a network
View your new network
View the coordinator device
Check the output logs from the server, they should be getting frequently repeated requests for the same information.
Additional context
This is probably a side effect of repeatedly force reloading the react components with the plotly plots to account for changes in window size. If this is the issue it can probably be fixed by pulling any server request in onEffect up to the parent component (i.e. one that isn't being force reloaded).
The text was updated successfully, but these errors were encountered:
Describe the bug
When viewing a device, the visualization component makes continual requests to the server for redundant information. This is not noticeable for the user, but it could lead to completely unnecessary server strain.
Expected behavior
The component only request the data once, or the data state is pulled up to the parent component.
To Reproduce
Steps to reproduce the behavior:
Additional context
This is probably a side effect of repeatedly force reloading the react components with the plotly plots to account for changes in window size. If this is the issue it can probably be fixed by pulling any server request in onEffect up to the parent component (i.e. one that isn't being force reloaded).
The text was updated successfully, but these errors were encountered: