mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Cleanup alwaysFlattenAnimatedStyles Flag (#52682)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52682 Cleans up the `alwaysFlattenAnimatedStyles` feature flag. This was already unused starting with {D77314904}. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D78497554 fbshipit-source-id: 8bfbe6485812a675cdf3e78612347457f45ada90
This commit is contained in:
1 parent
0508eddfe6
commit
0a3808d07c
2 files changed
+1
-18
No files matched your search
@@ -708,17 +708,6 @@ const definitions: FeatureFlagDefinitions = {
|
||||
|
||||
jsOnly: {
|
||||
...testDefinitions.jsOnly,
|
||||
alwaysFlattenAnimatedStyles: {
|
||||
defaultValue: false,
|
||||
metadata: {
|
||||
dateAdded: '2025-06-02',
|
||||
description:
|
||||
'Changes `Animated` to always flatten style, fixing a bug with shadowed `AnimatedNode` instances.',
|
||||
expectedReleaseValue: true,
|
||||
purpose: 'experimentation',
|
||||
},
|
||||
ossReleaseStage: 'none',
|
||||
},
|
||||
animatedShouldDebounceQueueFlush: {
|
||||
defaultValue: false,
|
||||
metadata: {
|
||||
|
||||
@@ -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<<d30fc4e36ad600353c9b9098fd71430a>>
|
||||
* @generated SignedSource<<742172e146c6eeb22c2b5058058b1b83>>
|
||||
* @flow strict
|
||||
* @noformat
|
||||
*/
|
||||
@@ -29,7 +29,6 @@ import {
|
||||
|
||||
export type ReactNativeFeatureFlagsJsOnly = $ReadOnly<{
|
||||
jsOnlyTestFlag: Getter<boolean>,
|
||||
alwaysFlattenAnimatedStyles: Getter<boolean>,
|
||||
animatedShouldDebounceQueueFlush: Getter<boolean>,
|
||||
animatedShouldUseSingleOp: Getter<boolean>,
|
||||
avoidStateUpdateInAnimatedPropsMemo: Getter<boolean>,
|
||||
@@ -120,11 +119,6 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
|
||||
*/
|
||||
export const jsOnlyTestFlag: Getter<boolean> = createJavaScriptFlagGetter('jsOnlyTestFlag', false);
|
||||
|
||||
/**
|
||||
* Changes `Animated` to always flatten style, fixing a bug with shadowed `AnimatedNode` instances.
|
||||
*/
|
||||
export const alwaysFlattenAnimatedStyles: Getter<boolean> = createJavaScriptFlagGetter('alwaysFlattenAnimatedStyles', false);
|
||||
|
||||
/**
|
||||
* Enables an experimental flush-queue debouncing in Animated.js.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user