Closed Jackman3005 closed 2 months ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.72.10. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
The PR that was closed does not seem like it would be a "bad" thing to include, as it is only a check that only avoids throwing error in an unexpected scenario.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Description
From what I can tell, I am essentially running into the same problem as a prior closed issue. Which had a PR created to "fix" the issue, but was eventually closed without being merged.
I too (think) am running into the issue described before. I receive the following error in an unknown situation:
I am not certain of the root cause of it. Quite possibly it is as @hansencj06 described on the PR in 2020.
It is challenging to extract a minimal reproduction. But I can tell you that I essentially am animating a button to full width (normal) or a circle (loading state).
However, I am stopping and starting the two different animation sequences (
animateToCircle
,animateToButton
) in auseEffect
based on incoming states. i.e. If the incoming prop isloading=true
and I'm in the process of animating from a button to a circle when I receive updated propsloading=false
I will then interrupt the animation to a circle and begin the animation back to a button again.The animation related code is as follows:
Possibly I am misusing animations here and would welcome any suggestions on the "correct" way to accomplish this.
Steps to reproduce
Again, not 100% certain how to do this reliably, although a reproduction was provided in the original issue that should suffice hitting this scenario.
React Native Version
0.72.4
Affected Platforms
Runtime - Web
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/facebook/react-native/issues/17699
Screenshots and Videos
No response