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
On page load, Dash serves the initial layout (when provided in a function) more than once. I've seen it run one of my "initial" functions at least 20 times. Likewise, if you have 5 inputs, a callback's function is running 5 times even if not all of those inputs have changed or fired. Caching has helped, but it still seems really inefficient and others have noticed similar behaviour.
On page load, Dash serves the initial layout (when provided in a function) more than once. I've seen it run one of my "initial" functions at least 20 times. Likewise, if you have 5 inputs, a callback's function is running 5 times even if not all of those inputs have changed or fired. Caching has helped, but it still seems really inefficient and others have noticed similar behaviour.
Have a look here for more details.
The text was updated successfully, but these errors were encountered: