Closed mattgperry closed 3 weeks ago
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.
motion
VisualElement
.update()
This PR ensures that the insertion effect responsible for updating props from a
motion
commit to itsVisualElement
only runs when theVisualElement
is hydrated with an element reference. This cuts an unnecessary.update()
call on mount.