Skip to content

Remove animatedShouldDebounceQueueFlush gate in NativeAnimatedHelper#57337

Closed
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D109468770
Closed

Remove animatedShouldDebounceQueueFlush gate in NativeAnimatedHelper#57337
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D109468770

Conversation

@zeyap

@zeyap zeyap commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary:
Now that flush-queue debouncing is the default, drop the animatedShouldDebounceQueueFlush checks in NativeAnimatedHelper so the debounced flush path is unconditional. disableQueue() always schedules a flush, and setWaitingForIdentifier() always clears any pending immediate flush.

Changelog:
[Internal]

Reviewed By: christophpurrer

Differential Revision: D109468770

Summary:
Now that flush-queue debouncing is the default, drop the `animatedShouldDebounceQueueFlush` checks in `NativeAnimatedHelper` so the debounced flush path is unconditional. `disableQueue()` always schedules a flush, and `setWaitingForIdentifier()` always clears any pending immediate flush.

Changelog:
[Internal]

Reviewed By: christophpurrer

Differential Revision: D109468770
@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 Jun 25, 2026
@meta-codesync

meta-codesync Bot commented Jun 25, 2026

Copy link
Copy Markdown

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

zeyap added a commit to zeyap/react-native that referenced this pull request Jun 25, 2026
…eact#57337)

Summary:

Now that flush-queue debouncing is the default, drop the `animatedShouldDebounceQueueFlush` checks in `NativeAnimatedHelper` so the debounced flush path is unconditional. `disableQueue()` always schedules a flush, and `setWaitingForIdentifier()` always clears any pending immediate flush.

Changelog:
[Internal]

Reviewed By: christophpurrer

Differential Revision: D109468770
@meta-codesync meta-codesync Bot closed this in ae0cfdd Jun 25, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 25, 2026
@meta-codesync

meta-codesync Bot commented Jun 25, 2026

Copy link
Copy Markdown

This pull request has been merged in ae0cfdd.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant