SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Make xViewTransitionToHostInstances helpers reusable (#32611)

This prepares from being able to reuse some this in ApplyGesture.

These all start with resetting a counter but it's tricky to have to
remember to do this and tricky to do from the outside of this module. So
we make an exported helper that does the resetting. Ideally it gets
inlined.

We also stop passing "current" to measureViewTransitionHostInstances.
Same thing for cancelViewTransitionHostInstances. This doesn't make
sense for "nested" which has not updated and so might not have an
alternate. Instead we pass in the old and new name if they might be
different.
S
Sebastian Markbåge committed
6daef4e7c8eea99c1b7eb7e451e028c6d7358321
Parent: 3e95680
Committed by GitHub <noreply@github.com> on 3/14/2025, 5:16:42 PM