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

[Test case] State update in subtree not being picked up #31

Conversation

bryphe
Copy link
Contributor

@bryphe bryphe commented Jan 15, 2019

Issue: Nested components in the tree don't seem to 'bubble up' their state changes into flushPendingUpdates. This means that state changes work fine when useState is the top-level element that we call flushPendingUpdates on, but if it is lower in the tree, the updates don't get picked up.

This is possibly a misunderstanding on my end of the API, but it'd be helpful to see how to handle this case for revery revery-ui/revery#207

@wokalski
Copy link
Member

Oh, thanks for the PR. That's a significant regression after introducing hooks! Fixing it asap 👍

@wokalski
Copy link
Member

wokalski commented Jan 15, 2019

Thanks @bryphe. I really appreciate it. The problem has been fixed. Sorry for that!

@wokalski wokalski merged commit 79c257e into briskml:feature/hooks-api Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants