Description
Since the react native 0.79.5 upgrade, interrupting animations causes warnings in the console that "useInsertionEffect must not schedule updates"
Steps to reproduce
- Start the animation
- Interrupt it before it is done
React Native Version
0.79.5
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.5
CPU: (12) arm64 Apple M3 Pro
Memory: 583.00 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.1
path: ~/.nvm/versions/node/v18.17.1/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.2
path: /Users/niclascollmer/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12169540
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.8
path: /Users/niclascollmer/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 3.3.4
path: /Users/niclascollmer/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.5
wanted: 0.79.5
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
info React Native v0.80.2 is now available (your project is running on v0.79.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.80.2
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.79.5&to=0.80.2
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Stacktrace or Logs
ERROR Warning: useInsertionEffect must not schedule updates.
132 | const SkinareaSelectionSlider: React.FC<Props> = ({
133 | skinAreaSelectedForCamera,
134 | tappedOnSkinArea,
135 | tapOnAddNewPart,
MANDATORY Reproducer
https://github.com/InkAndSteel/animation-error
Screenshots and Videos
No response
Description
Since the react native 0.79.5 upgrade, interrupting animations causes warnings in the console that "useInsertionEffect must not schedule updates"
Steps to reproduce
React Native Version
0.79.5
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/InkAndSteel/animation-error
Screenshots and Videos
No response