Skip to content

Cleanup enableVirtualViewDebugFeatures and FlingItemOverlay (#56946)#56946

Open
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D105959433
Open

Cleanup enableVirtualViewDebugFeatures and FlingItemOverlay (#56946)#56946
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D105959433

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented May 22, 2026

Summary:

The enableVirtualViewDebugFeatures feature flag was effectively dead — its only MobileConfig backing param (rn_fling.fling_debug) hadn't been updated in 365+ days, and the codemod-tracking diff D105936405 was already queued to remove the three native overrides. Rather than carry the FF + JS overlay surface forward, delete the whole stack: the FF, the overrides, the BUCK dep, the JS overlay components (FlingItemOverlay, FlingDebugItemOverlay, FlingDebugOverlay), the debug-log helpers in the native ScrollView/VirtualView implementations on both iOS and Android, and the now-orphaned references in VirtualCollectionView.

Net: 4 files deleted, the FF removed from the cross-language codegen, native debug logging dropped from 5 files (1 ObjC++, 4 Kotlin), and consumer code in VirtualCollectionView simplified.

Changelog:
[General][Removed] - Remove unused enableVirtualViewDebugFeatures feature flag and the associated FlingItemOverlay / FlingDebugItemOverlay debug surfaces.

Reviewed By: lunaleaps

Differential Revision: D105959433

@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 22, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 22, 2026

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

…#56946)

Summary:

The `enableVirtualViewDebugFeatures` feature flag was effectively dead — its only MobileConfig backing param (`rn_fling.fling_debug`) hadn't been updated in 365+ days, and the codemod-tracking diff D105936405 was already queued to remove the three native overrides. Rather than carry the FF + JS overlay surface forward, delete the whole stack: the FF, the overrides, the BUCK dep, the JS overlay components (`FlingItemOverlay`, `FlingDebugItemOverlay`, `FlingDebugOverlay`), the debug-log helpers in the native ScrollView/VirtualView implementations on both iOS and Android, and the now-orphaned references in `VirtualCollectionView`.

Net: 4 files deleted, the FF removed from the cross-language codegen, native debug logging dropped from 5 files (1 ObjC++, 4 Kotlin), and consumer code in `VirtualCollectionView` simplified.

Changelog:
[General][Removed] - Remove unused `enableVirtualViewDebugFeatures` feature flag and the associated `FlingItemOverlay` / `FlingDebugItemOverlay` debug surfaces.

Reviewed By: lunaleaps

Differential Revision: D105959433
@meta-codesync meta-codesync Bot changed the title Cleanup enableVirtualViewDebugFeatures and FlingItemOverlay Cleanup enableVirtualViewDebugFeatures and FlingItemOverlay (#56946) May 26, 2026
@javache javache force-pushed the export-D105959433 branch from 5d3aaaf to cfd8907 Compare May 26, 2026 10:31
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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant