Skip to content

[0.89] Enable the shared animation backend in open source #1523

Closed

Description

@bartlomiejbloniarz

Target Branch

0.89

Link to commit or PR to be picked

react/react-native#59958

Merged into main as react/react-native@a3d6750.

Description

Turns on the shared animation backend in open source. The OSS stable overrides set useSharedAnimatedBackend and optimizedAnimatedPropUpdates to true, and both flags become canary. Meta's internal defaults do not change. With the backend on, C++ Animated drives its updates through the shared animation backend. That lets the native driver animate layout props, and Reanimated builds on it.

This depends on #1520, which picks react/react-native#59936 (C++ Native Animated to stable). The backend needs C++ Native Animated.

On 0.89-stable, with or without #1520, the pick conflicts only in the @generated SignedSource headers of ReactNativeFeatureFlagsOverridesOSSCanary.h and ReactNativeFeatureFlagsOverrides_RNOSS_Canary_Android.kt. Running yarn featureflags --update regenerates them.

Activity

  1. changed the title [-][0.89] Promote the shared animation backend to stable[/-] [+][0.89] Enable the shared animation backend in open source[/+] on Nov 12, 2026
  2. gabrieldonadel commented on Nov 16, 2026

    @gabrieldonadel
    Contributor

    Picked into 0.89-stable for 0.89.0-rc.2 as cd1c75ec5a3.

    The cherry-pick conflicted on two generated flag-override files. Resolved by regeneration: ReactNativeFeatureFlags.config.js applied cleanly, the generated files were reset to the branch state, and scripts/featureflags/index.js regenerated them. The result matches the original commit exactly: same 7 files, 33 insertions, 13 deletions.

    For the record: this moves useSharedAnimatedBackend and optimizedAnimatedPropUpdates to ossReleaseStage: canary, not stable, and both keep defaultValue: false. They are on in canary and nightly builds only. The shipped 0.89.0-rc.2 does not enable them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions