Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Sep 20, 2025

Stacked on #34546.

Same as #34538 but for gestures.

Includes various fixes.

This shows how it ends with a Transition when you release in the committed state. Note how the Animation of the Gesture continues until the Transition is done so that the handoff is seamless.

Screenshot 2025-09-20 at 7 37 29 PM

@meta-cla meta-cla bot added the CLA Signed label Sep 20, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Sep 20, 2025
@react-sizebot
Copy link

react-sizebot commented Sep 20, 2025

Comparing: 05b61f8...66c6a35

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 534.43 kB 534.43 kB = 94.33 kB 94.33 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 663.68 kB 663.69 kB = 117.00 kB 117.00 kB
facebook-www/ReactDOM-prod.classic.js = 687.59 kB 687.59 kB = 121.04 kB 121.04 kB
facebook-www/ReactDOM-prod.modern.js = 678.02 kB 678.02 kB = 119.40 kB 119.40 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 66c6a35

We need to clear any updates scheduled so that we can treat future updates
as the cause of the render.
If you're gesturing to something new and there are no updating or disappearing
view transitions, then all view transitions are "exit" (because gestures are in
reverse).

These use the clone model which should track the animation task the same
as applyViewTransitionToHostInstances.

We also need to start the tracking earlier so it covers the insertion of clones.
We don't actually ever use this because startGestureTransition is not allowed
to be async and so we never show the delta in time from when it starts
until the optimistic update happens.
@sebmarkbage sebmarkbage merged commit e233218 into facebook:main Sep 24, 2025
178 of 179 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 24, 2025
…ing (#34548)

Stacked on #34546.

Same as #34538 but for gestures.

Includes various fixes.

This shows how it ends with a Transition when you release in the
committed state. Note how the Animation of the Gesture continues until
the Transition is done so that the handoff is seamless.

<img width="853" height="134" alt="Screenshot 2025-09-20 at 7 37 29 PM"
src="https://github.com/user-attachments/assets/6192a033-4bec-43b9-884b-77e3a6f00da6"
/>

DiffTrain build for [e233218](e233218)
github-actions bot pushed a commit that referenced this pull request Sep 24, 2025
…ing (#34548)

Stacked on #34546.

Same as #34538 but for gestures.

Includes various fixes.

This shows how it ends with a Transition when you release in the
committed state. Note how the Animation of the Gesture continues until
the Transition is done so that the handoff is seamless.

<img width="853" height="134" alt="Screenshot 2025-09-20 at 7 37 29 PM"
src="https://github.com/user-attachments/assets/6192a033-4bec-43b9-884b-77e3a6f00da6"
/>

DiffTrain build for [e233218](e233218)
EugeneChoi4 pushed a commit to EugeneChoi4/react that referenced this pull request Sep 24, 2025
…ing (facebook#34548)

Stacked on facebook#34546.

Same as facebook#34538 but for gestures.

Includes various fixes.

This shows how it ends with a Transition when you release in the
committed state. Note how the Animation of the Gesture continues until
the Transition is done so that the handoff is seamless.

<img width="853" height="134" alt="Screenshot 2025-09-20 at 7 37 29 PM"
src="https://github.com/user-attachments/assets/6192a033-4bec-43b9-884b-77e3a6f00da6"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants