Skip to content

Sync on js thread after animation finished#54875

Closed
bartlomiejbloniarz wants to merge 4 commits into
react:mainfrom
bartlomiejbloniarz:export-D89042949
Closed

Sync on js thread after animation finished#54875
bartlomiejbloniarz wants to merge 4 commits into
react:mainfrom
bartlomiejbloniarz:export-D89042949

Conversation

@bartlomiejbloniarz

Copy link
Copy Markdown
Contributor

Summary: 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

Bartlomiej Bloniarz added 4 commits December 12, 2025 08:00
Summary: For the testing purposes, during the development of Animation Backend, we changed the way props are modified from animated, to use the AnimatedProps. As these would currently not benefit c++ Animated, this diff reverts that to use `folly::dynamic` again.

Differential Revision: D88743857
Summary: This diff simple extends the tests for AnimationBackend

Differential Revision: D85753518
Summary: This diff changes the AnimatedPropsRegistry to also contain updates that go through the synchronous props update fast-path.

Differential Revision: D89042934
Summary: 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
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Dec 12, 2025
@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 Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Dec 12, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing as this has been merged in f9e94c0

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 3, 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. Merged This PR has been merged. p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants