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
If a bound prop is immediately updated as the result of state propagating upward, that update does not propagate downward.
To Reproduce REPL
Clicking the RefactoredButton causes the internal state of RefactoredButton and value to go out of sync.
Expected behavior
The update to value should propagate downward to RefactoredButton. The behavior of clicking the inline button and the refactored component should be the same.
Severity
The workaround for this is relatively simple (just wrap the update in a requestAnimationFrame), but it's still frustrating and unexpected behavior.
The text was updated successfully, but these errors were encountered:
Describe the bug
If a bound prop is immediately updated as the result of state propagating upward, that update does not propagate downward.
To Reproduce
REPL
Clicking the
RefactoredButton
causes the internal state ofRefactoredButton
andvalue
to go out of sync.Expected behavior
The update to
value
should propagate downward toRefactoredButton
. The behavior of clicking the inline button and the refactored component should be the same.Severity
The workaround for this is relatively simple (just wrap the update in a
requestAnimationFrame
), but it's still frustrating and unexpected behavior.The text was updated successfully, but these errors were encountered: