Repository navigation
Avoid rendering clientside no_update outputs - #4175
Open
FistOfMight wants to merge 2 commits into
Open
FistOfMight wants to merge 2 commits into
FistOfMight wants to merge 2 commits into
Conversation
|
FistOfMight
marked this pull request as ready for review
November 23, 2026 14:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes #4173.
Clientside
no_updatecurrently leaves an empty result entry for each skipped component. Applying that entry dispatches an empty property update, increments its layout hash and can render it despite all output values being unchanged.Create a result entry only for a value that is not
no_update. This matches the server-side omission of skipped components and preserves grouping when another property on the same component does update. Callback/loading bookkeeping is unchanged.Validation:
outputs_listtests: 11 passed.tsc --noEmit --skipLibCheckpasses; plaintsc --noEmitencounters an existing missingreact-domdeclaration in the installed dependency tree.Additional Python unit sweep: 742 passed across the initial run and a follow-up for three files after installing a missing test dependency; six skipped. The unrelated Firefox browser smoke test could not start in this environment, so the full Python unit sweep is not entirely green.
The skipped value remains unchanged, and the reproduction does not show downstream callbacks firing, remounts or a skipped Graph calling
Plotly.react. This is a performance defect. Runtime probes reproduce it on 4.1.0, 4.5.0 and 4.5.1.Contributor Checklist
devas a bug fix.