Skip to content

Conversation

@bartlomiejbloniarz
Copy link
Contributor

Summary: This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup tagToShadowNodeFamily_ when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 12, 2025
@facebook-github-bot facebook-github-bot added the p: Facebook Partner: Facebook label Dec 12, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 12, 2025

@bartlomiejbloniarz has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89042963.

facebook-github-bot pushed a commit that referenced this pull request Dec 12, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
facebook-github-bot pushed a commit that referenced this pull request Dec 12, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@github-actions
Copy link

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

facebook-github-bot pushed a commit that referenced this pull request Dec 12, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
facebook-github-bot pushed a commit that referenced this pull request Dec 12, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@facebook-github-bot facebook-github-bot force-pushed the export-D89042963 branch 2 times, most recently from 7fce959 to 048ed2b Compare December 15, 2025 10:26
facebook-github-bot pushed a commit that referenced this pull request Dec 15, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
facebook-github-bot pushed a commit that referenced this pull request Dec 15, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
facebook-github-bot pushed a commit that referenced this pull request Dec 16, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@facebook-github-bot facebook-github-bot force-pushed the export-D89042963 branch 2 times, most recently from cbac506 to 57ba558 Compare December 16, 2025 13:51
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: facebook#54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in d91de96

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 16, 2025
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: facebook#54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in 8267a59

When will my fix make it into a release? | How to file a pick request?

@react-native-bot
Copy link
Collaborator

Warnings
⚠️

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: NON_BREAKING

Generated by 🚫 dangerJS against 8267a59

bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 17, 2025
Summary:
Pull Request resolved: facebook#54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 17, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in 9227dd7

When will my fix make it into a release? | How to file a pick request?

bartlomiejbloniarz pushed a commit that referenced this pull request Dec 18, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 18, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in 93f7feb

When will my fix make it into a release? | How to file a pick request?

@github-actions
Copy link

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

facebook-github-bot pushed a commit that referenced this pull request Dec 19, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 19, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit that referenced this pull request Dec 19, 2025
Summary:
Pull Request resolved: #54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in daee5a4

When will my fix make it into a release? | How to file a pick request?

facebook-github-bot pushed a commit that referenced this pull request Dec 22, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Reviewed By: zeyap

Differential Revision: D89042963
facebook-github-bot pushed a commit that referenced this pull request Dec 22, 2025
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Reviewed By: zeyap

Differential Revision: D89042963
Summary:

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

# Changelog

[General] [Added] - `connectToShadowNodeFamily` and `disconnectFromShadowNodeFamily` methods in PropsAnimatedNode
[General] [Changed] - Moved `shadowNodeFamily_` from a map in `NativeAnimatedNodesManager` to `PropsAnimatedNode`

Reviewed By: lenaic, zeyap

Differential Revision: D89042963
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Jan 7, 2026
Summary:
Pull Request resolved: facebook#54879

This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that.

Differential Revision: D89042963
@meta-codesync meta-codesync bot closed this in af96497 Jan 7, 2026
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 Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants