-
QuestionI am debugging some performance issues, and I find that I am updating a lot of elements that are not visible to the user (most of my elements are separated between three ui.tabs). How can I prevent them from being updated by bindings? Perhaps I should disable ui.timer based on currently selected tab? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
for tabs, you can use |
Beta Was this translation helpful? Give feedback.
-
We currently sync the full state to the client. Even the hidden elements. Mainly because it is simpler to implement and tracking / resyncing state when it gets visible may lead to very unexpected errors. I suggest you solve this in your application logic. For example by disabling timers. |
Beta Was this translation helpful? Give feedback.
We currently sync the full state to the client. Even the hidden elements. Mainly because it is simpler to implement and tracking / resyncing state when it gets visible may lead to very unexpected errors. I suggest you solve this in your application logic. For example by disabling timers.