Skip to content

Remove unused animatedShouldDebounceQueueFlush feature flag (#57340)#57340

Closed
zeyap wants to merge 2 commits into
react:mainfrom
zeyap:export-D109472811
Closed

Remove unused animatedShouldDebounceQueueFlush feature flag (#57340)#57340
zeyap wants to merge 2 commits into
react:mainfrom
zeyap:export-D109472811

Conversation

@zeyap

@zeyap zeyap commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary:

animatedShouldDebounceQueueFlush is no longer read anywhere — NativeAnimatedHelper now debounces the queue flush unconditionally. Remove the now-dead flag definition and its generated getter.

Changelog:
[Internal]

Differential Revision: D109472811

@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 D109472811.

zeyap added 2 commits June 25, 2026 08:45
…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
)

Summary:

`animatedShouldDebounceQueueFlush` is no longer read anywhere — `NativeAnimatedHelper` now debounces the queue flush unconditionally. Remove the now-dead flag definition and its generated getter.

Changelog:
[Internal]

Differential Revision: D109472811
@meta-codesync meta-codesync Bot changed the title Remove unused animatedShouldDebounceQueueFlush feature flag Remove unused animatedShouldDebounceQueueFlush feature flag (#57340) Jun 25, 2026
@zeyap zeyap force-pushed the export-D109472811 branch from 81ed64b to 4c62e22 Compare June 25, 2026 15:45
@meta-codesync meta-codesync Bot closed this in e805631 Jun 26, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 26, 2026
@meta-codesync

meta-codesync Bot commented Jun 26, 2026

Copy link
Copy Markdown

This pull request has been merged in e805631.

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