mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
Remove useSwipeTransition (#32786)
Stacked on #32785. This is now replaced by `startGestureTransition` added in #32785. I also renamed the flag from `enableSwipeTransition` to `enableGestureTransition` to correspond to the new name.
This commit is contained in:
committed by
GitHub
parent
b286430c8a
commit
0a7cf20b22
@@ -535,9 +535,9 @@
|
||||
"547": "startGesture cannot be called during server rendering.",
|
||||
"548": "Finished rendering the gesture lane but there were no pending gestures. React should not have started a render in this case. This is a bug in React.",
|
||||
"549": "Cannot start a gesture with a disconnected AnimationTimeline.",
|
||||
"550": "useSwipeTransition is not yet supported in react-art.",
|
||||
"551": "useSwipeTransition is not yet supported in React Native.",
|
||||
"552": "Cannot use a useSwipeTransition() in a detached root.",
|
||||
"550": "startGestureTransition is not yet supported in react-art.",
|
||||
"551": "startGestureTransition is not yet supported in React Native.",
|
||||
"552": "Cannot use a startGestureTransition() on a detached root.",
|
||||
"553": "A Timeline is required as the first argument to startGestureTransition.",
|
||||
"554": "Cannot setState on regular state inside a startGestureTransition. Gestures can only update the useOptimistic() hook. There should be no side-effects associated with starting a Gesture until its Action is invoked. Move side-effects to the Action instead.",
|
||||
"555": "Cannot requestFormReset() inside a startGestureTransition. There should be no side-effects associated with starting a Gesture until its Action is invoked. Move side-effects to the Action instead."
|
||||
|
||||
Reference in New Issue
Block a user