Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prop binding goes out of sync when reactively updated #3382

Closed
btk5h opened this issue Aug 8, 2019 · 0 comments · Fixed by #3886
Closed

Prop binding goes out of sync when reactively updated #3382

btk5h opened this issue Aug 8, 2019 · 0 comments · Fixed by #3886
Labels

Comments

@btk5h
Copy link
Contributor

btk5h commented Aug 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants