Skip to content

Remove VirtualizedList disableVirtualization prop#57388

Open
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-disable-virtualization
Open

Remove VirtualizedList disableVirtualization prop#57388
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-disable-virtualization

Conversation

@zoontek

@zoontek zoontek commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary:

Removes the deprecated disableVirtualization prop from VirtualizedList (and FlatList/SectionList). It was a debug-only escape hatch that disabled virtualization's perf/memory optimizations. Cleans up the prop, its rendering branches, types, tests, and RNTester examples.

See #57384

Changelog:

[GENERAL] [BREAKING] - Remove deprecated VirtualizedList disableVirtualization prop

Test Plan:

  • yarn jest packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js passes (obsolete snapshots pruned).
  • yarn build-types regenerates ReactNativeApi.d.ts without disableVirtualization.

@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 Jun 30, 2026
@zoontek zoontek mentioned this pull request Jun 30, 2026
8 tasks
@github-actions

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 30, 2026
@meta-codesync

meta-codesync Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Abbondanzo has imported this pull request. If you are a Meta employee, you can view this in D110218899.

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. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant