Skip to content

Conversation

@bartlomiejbloniarz
Copy link
Contributor

Summary: Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813

@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 16, 2025
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Dec 16, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 16, 2025

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

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

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: facebook#54899

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
@bartlomiejbloniarz bartlomiejbloniarz force-pushed the export-D89286813 branch 2 times, most recently from 6f46eea to 8944b0c Compare December 16, 2025 17:33
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 16, 2025
Summary:
Pull Request resolved: facebook#54899

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
@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 8944b0c

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

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 18, 2025
Summary:
Pull Request resolved: facebook#54899

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
bartlomiejbloniarz pushed a commit to bartlomiejbloniarz/react-native that referenced this pull request Dec 19, 2025
Summary:
Pull Request resolved: facebook#54899

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Differential Revision: D89286813
Bartlomiej Bloniarz added 3 commits January 7, 2026 01:29
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
Summary:
Pull Request resolved: facebook#54877

This diff adds synchronizing props to react, through a scheduled commit on the js thread. This is used by animated at the end of the animation, and leverages RSNRU to actually push the update to reactjs.

Differential Revision: D89042949
Summary:
Pull Request resolved: facebook#54899

Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.

Reviewed By: zeyap

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

This pull request was successfully merged by Bartlomiej Bloniarz in ac06f3b

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 Jan 7, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 7, 2026

This pull request has been merged in ac06f3b.

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.

3 participants