SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 151 C++

Inline true in ReactActivityDelegate.isFabricEnabled() (#56857)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56857

The `ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer()` flag is being deleted; it always returns true on the canary release stage. The default body of `ReactActivityDelegate.isFabricEnabled()` reads the flag — change it to `return true` directly.

The method itself is preserved because it is a polymorphic `protected` hook that subclasses (e.g., `DefaultReactActivityDelegate`) override to provide per-activity behavior.

Behavior is unchanged.

Changelog:
[Internal]

Reviewed By: javache

Differential Revision: D105230961

fbshipit-source-id: 7acccbdca62e10022258523fd2a6eeb523b96273
D
David Vacca committed
e1a31dc4702be69c0d3a1dcb42e1d552a10012f0
Parent: 96c79c9
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 5/18/2026, 6:47:58 PM