Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-use Animation _nativeIds #45109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rozele
Copy link
Contributor

@rozele rozele commented Jun 21, 2024

Summary: Re-using _nativeIds should be perfectly safe. Tracking animations already re-use animation IDs when the value being tracked is updated. This change is in preparation for an exploratory API for triggering Animated actions on events (e.g., starting an animation on hover).

Differential Revision: D58770465

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 21, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58770465

@analysis-bot
Copy link

analysis-bot commented Jun 21, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 20,478,813 +98
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 23,676,608 +98
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: f7fe688
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58770465

rozele added a commit to rozele/react-native-macos that referenced this pull request Jun 23, 2024
Summary:
Pull Request resolved: facebook#45109

Re-using _nativeIds should be perfectly safe. Tracking animations already re-use animation IDs when the value being tracked is updated. This change is in preparation for an exploratory API for triggering Animated actions on events (e.g., starting an animation on hover).

Differential Revision: D58770465
@rozele rozele force-pushed the export-D58770465 branch from ed23fd6 to a6b7e18 Compare June 23, 2024 20:24
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58770465

@rozele rozele force-pushed the export-D58770465 branch from a6b7e18 to 269fac3 Compare June 23, 2024 20:32
rozele added a commit to rozele/react-native-macos that referenced this pull request Jun 23, 2024
Summary:
Pull Request resolved: facebook#45109

Re-using _nativeIds should be perfectly safe. Tracking animations already re-use animation IDs when the value being tracked is updated. This change is in preparation for an exploratory API for triggering Animated actions on events (e.g., starting an animation on hover).

Differential Revision: D58770465
Summary:
Pull Request resolved: facebook#45109

Re-using _nativeIds should be perfectly safe. Tracking animations already re-use animation IDs when the value being tracked is updated. This change is in preparation for an exploratory API for triggering Animated actions on events (e.g., starting an animation on hover).

Differential Revision: D58770465
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58770465

@rozele rozele force-pushed the export-D58770465 branch from 269fac3 to 5048287 Compare June 23, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants