Skip to content

Add scaffolding for batched animated prop updates delegate chain (#56771)#56771

Open
bartlomiejbloniarz wants to merge 1 commit into
mainfrom
export-D104672455
Open

Add scaffolding for batched animated prop updates delegate chain (#56771)#56771
bartlomiejbloniarz wants to merge 1 commit into
mainfrom
export-D104672455

Conversation

@bartlomiejbloniarz
Copy link
Copy Markdown
Contributor

@bartlomiejbloniarz bartlomiejbloniarz commented May 11, 2026

Summary:

Introduces the cross-platform delegate chain for batched animated property updates without any platform implementation:

  • Adds schedulerShouldSynchronouslyUpdateAnimatedPropsOnUIThread to SchedulerDelegate and forwards from Scheduler.
  • Adds uiManagerShouldSynchronouslyUpdateAnimatedPropsOnUIThread to UIManagerDelegate and synchronouslyUpdateAnimatedPropsOnUIThread to UIManager.
  • Adds no-op stubs in iOS (RCTScheduler.mm), macOS (RCTScheduler.mm), Windows (FabricUIManagerModule) and CxxPlatform (SchedulerDelegateImpl).

No behavioural impact; Android implementation lands in a follow-up.

Changelog:
[Internal]

Differential Revision: D104672455

@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 May 11, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels May 11, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 11, 2026

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

)

Summary:
Pull Request resolved: #56771

Introduces the cross-platform delegate chain for batched animated property updates without any platform implementation:

- Adds `schedulerShouldSynchronouslyUpdateAnimatedPropsOnUIThread` to `SchedulerDelegate` and forwards from `Scheduler`.
- Adds `uiManagerShouldSynchronouslyUpdateAnimatedPropsOnUIThread` to `UIManagerDelegate` and `synchronouslyUpdateAnimatedPropsOnUIThread` to `UIManager`.
- Adds no-op stubs in iOS (`RCTScheduler.mm`), macOS (`RCTScheduler.mm`), Windows (`FabricUIManagerModule`) and CxxPlatform (`SchedulerDelegateImpl`).

No behavioural impact; Android implementation lands in a follow-up.

Changelog:
[Internal]

Differential Revision: D104672455
@meta-codesync meta-codesync Bot changed the title Add scaffolding for batched animated prop updates delegate chain Add scaffolding for batched animated prop updates delegate chain (#56771) May 11, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by Bartlomiej Bloniarz in 39ee496

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 May 11, 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.

2 participants