Skip to content

Conversation

mattgperry
Copy link
Collaborator

This PR ensures that the insertion effect responsible for updating props from a motion commit to its VisualElement only runs when the VisualElement is hydrated with an element reference. This cuts an unnecessary .update() call on mount.

@mattgperry mattgperry requested a review from kurtextrem October 31, 2024 09:52
Copy link
Contributor

@kurtextrem kurtextrem left a comment

Choose a reason for hiding this comment

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

nice!

@mergetron mergetron bot merged commit f3468b3 into main Oct 31, 2024
3 checks passed
@mergetron mergetron bot deleted the fix/double-mount-update branch October 31, 2024 13:37
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