Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,17 @@ const definitions: FeatureFlagDefinitions = {

jsOnly: {
...testDefinitions.jsOnly,
animatedDeferStartOfTimingAnimations: {
defaultValue: false,
metadata: {
dateAdded: '2026-05-26',
description:
'When enabled, the JS Animated layer defers the start of native-driven timing animations to the first rendered frame and re-anchors timing to prevent skipping initial frames when the UI thread is busy with layout work.',
expectedReleaseValue: true,
purpose: 'experimentation',
},
ossReleaseStage: 'none',
},
animatedShouldDebounceQueueFlush: {
defaultValue: false,
metadata: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<77b178e216aa86a309f46cbf661d9122>>
* @generated SignedSource<<4cc0d1231e555cb7f8ca416d5439c2fd>>
* @flow strict
* @noformat
*/
Expand All @@ -29,6 +29,7 @@ import {

export type ReactNativeFeatureFlagsJsOnly = $ReadOnly<{
jsOnlyTestFlag: Getter<boolean>,
animatedDeferStartOfTimingAnimations: Getter<boolean>,
animatedShouldDebounceQueueFlush: Getter<boolean>,
animatedShouldSyncValueBeforeStartCallback: Getter<boolean>,
animatedShouldUseSingleOp: Getter<boolean>,
Expand Down Expand Up @@ -142,6 +143,11 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
*/
export const jsOnlyTestFlag: Getter<boolean> = createJavaScriptFlagGetter('jsOnlyTestFlag', false);

/**
* When enabled, the JS Animated layer defers the start of native-driven timing animations to the first rendered frame and re-anchors timing to prevent skipping initial frames when the UI thread is busy with layout work.
*/
export const animatedDeferStartOfTimingAnimations: Getter<boolean> = createJavaScriptFlagGetter('animatedDeferStartOfTimingAnimations', false);

/**
* Enables an experimental flush-queue debouncing in Animated.js.
*/
Expand Down
Loading