react/packages
Sebastian Markbåge 0b1a9e90c5
Support addTransitionType in startGestureTransition (#32792)
Stacked on #32788.

Normally we track `addTransitionType` globally because of the async gap
that can happen in Actions where we lack AsyncContext to associate it
with a particular Transition. This unfortunately also means it's
possible to call outside of `startTransition` which is something we want
to warn for.

We need to be able to distinguish whether `addTransitionType` is for a
regular Transition or a Gesture Transition though.

Since `startGestureTransition` is only synchronous we can track it
within that execution scope and move it to a separate set. Since we know
for sure which call owns it we can properly associate it with that
specific provider's `ScheduledGesture`.

This does not yet handle calling `addTransitionType` inside the render
phase of a gesture. That would currently still be associated with the
next Transition instead.
2025-04-01 12:08:55 -04:00
..
dom-event-testing-library Add jest lint rules (#29760) 2024-06-10 14:31:37 -04:00
eslint-plugin-react-hooks feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00
internal-test-utils [flags] remove enableOwnerStacks (#32426) 2025-03-04 12:34:34 -05:00
jest-react Bump next prerelease version numbers (#31676) 2024-12-12 14:10:46 -05:00
react Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
react-art Remove useSwipeTransition (#32786) 2025-04-01 11:43:33 -04:00
react-cache [flags] remove enableOwnerStacks (#32426) 2025-03-04 12:34:34 -05:00
react-client Stop creating Owner Stacks if many have been created recently (#32529) 2025-03-23 15:47:03 -07:00
react-debug-tools Remove useSwipeTransition (#32786) 2025-04-01 11:43:33 -04:00
react-devtools [devtools] Introduce REACT_DEVTOOLS_PORT for the standalone react-devtools (#30767) 2025-02-11 18:14:43 +00:00
react-devtools-core fix[react-devtools-standalone]: define missing globals (#32327) 2025-02-07 11:07:46 +00:00
react-devtools-extensions [DevTools] Add fb local build command (#32644) 2025-03-25 13:45:48 +00:00
react-devtools-fusebox fix[react-devtools-fusebox]: add extension globals to build (#32297) 2025-02-03 09:59:58 +00:00
react-devtools-inline React DevTools 6.1.0 -> 6.1.1 (#32326) 2025-02-07 10:54:44 +00:00
react-devtools-shared [DevTools] Add fb local build command (#32644) 2025-03-25 13:45:48 +00:00
react-devtools-shell DevTools: support useEffectEvent and forward-fix experimental prefix support (#32106) 2025-01-22 14:15:48 +00:00
react-devtools-timeline React DevTools 6.1.0 -> 6.1.1 (#32326) 2025-02-07 10:54:44 +00:00
react-dom Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
react-dom-bindings Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
react-is [refactor] move isValidElementType to react-is (#32518) 2025-03-20 16:51:33 -04:00
react-markup [flags] remove enableOwnerStacks (#32426) 2025-03-04 12:34:34 -05:00
react-native-renderer Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
react-noop-renderer Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
react-reconciler Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
react-refresh Revert "Fix:- Improve HOC support and state preservation in React Refresh" (#32214) 2025-03-18 19:05:56 +00:00
react-server Remove useSwipeTransition (#32786) 2025-04-01 11:43:33 -04:00
react-server-dom-esm [Flight] Expose registerServerReference from the client builds (#32534) 2025-03-05 22:16:56 -05:00
react-server-dom-fb Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
react-server-dom-parcel Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
react-server-dom-turbopack Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
react-server-dom-webpack Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
react-suspense-test-utils (Land #28798) Move Current Owner (and Cache) to an Async Dispatcher (#28912) 2024-04-25 10:40:40 -07:00
react-test-renderer Support addTransitionType in startGestureTransition (#32792) 2025-04-01 12:08:55 -04:00
scheduler Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
shared Get rid of the directional gesture options (#32788) 2025-04-01 12:07:07 -04:00
use-subscription Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00
use-sync-external-store use-sync-external-store: Add exports field to package.json (#25231) 2025-02-24 13:01:59 +01:00