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

feat: batch updates in event handlers #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maartenbreddels
Copy link
Contributor

In 9502163 and 03a9b39 we implemented batch updates from on_ change handlers. This caused a change handler that set multiple states to be changed to not trigger a render multiple times. This behaviour was not implemented for event handlers. This commit implements this behaviour for event handlers as well.

In 9502163 and 03a9b39 we implemented batch updates from on_<name>
change handlers. This caused a change handler that set multiple states
to be changed to not trigger a render multiple times.
This behaviour was not implemented for event handlers. This commit
implements this behaviour for event handlers as well.
Copy link
Collaborator

@iisakkirotko iisakkirotko left a comment

Choose a reason for hiding this comment

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

Happy to see it makes the ipyvue code simpler

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