Skip to content

Remove enableFabricRenderer() call from InteropModuleRegistry#56852

Closed
mdvacca wants to merge 2 commits into
facebook:mainfrom
mdvacca:export-D105229610
Closed

Remove enableFabricRenderer() call from InteropModuleRegistry#56852
mdvacca wants to merge 2 commits into
facebook:mainfrom
mdvacca:export-D105229610

Conversation

@mdvacca
Copy link
Copy Markdown
Contributor

@mdvacca mdvacca commented May 15, 2026

Summary:
The ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer() flag is being deleted; it always returns true on the canary release stage.

Production:

  • checkReactFeatureFlagsConditions now returns useFabricInterop() only.
  • Remove the now-unused enableFabricRenderer import.

Test:

  • overrideFeatureFlags test helper drops the enableFabricRenderer parameter.
  • Existing test cases continue to exercise both true/false branches of useFabricInterop.

Behavior is unchanged.

Changelog:
[Internal]

Reviewed By: javache

Differential Revision: D105229610

mdvacca added 2 commits May 15, 2026 09:34
facebook#56851)

Summary:

The `ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer()` flag is being deleted; it always returns true on the canary release stage. Inline `true` and simplify the surrounding `&&` expressions:

- Two `if (enableFabricRenderer() && useFabricInterop())` checks become `if (useFabricInterop())`.
- Remove the now-unused import.

Behavior is unchanged.

Changelog:
[Internal]

Reviewed By: javache

Differential Revision: D105229106
Summary:
The `ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer()` flag is being deleted; it always returns true on the canary release stage.

Production:
- `checkReactFeatureFlagsConditions` now returns `useFabricInterop()` only.
- Remove the now-unused `enableFabricRenderer` import.

Test:
- `overrideFeatureFlags` test helper drops the `enableFabricRenderer` parameter.
- Existing test cases continue to exercise both true/false branches of `useFabricInterop`.

Behavior is unchanged.

Changelog:
[Internal]

Reviewed By: javache

Differential Revision: D105229610
@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 May 15, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 15, 2026

@mdvacca has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105229610.

@meta-codesync meta-codesync Bot closed this in 3b9c581 May 15, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label May 15, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 15, 2026

This pull request has been merged in 3b9c581.

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. fb-exported 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