Skip to content

Conversation

sophiebits
Copy link
Collaborator

Fixes #1227.

It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together.

@zpao
Copy link
Member

zpao commented Mar 10, 2014

I'm assuming but want to confirm - this fixes the layers bug we were talking about on Thursday?

@sophiebits
Copy link
Collaborator Author

No, it doesn't. Still a good idea though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase and update for descriptors. This isn't going to be the right thing anymore.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Fixes facebook#1227.

It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together.
zpao added a commit that referenced this pull request Apr 12, 2014
Batch updates caused by handlers in multiple roots
@zpao zpao merged commit 3e2182f into facebook:master Apr 12, 2014
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.

Event handlers from different component trees should batch together
2 participants