Skip to content

Remove disableImageViewPreallocationAndroid check from view preallocation - #60437

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
lenaic:export-D135368129
Dec 4, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
lenaic:export-D135368129

Conversation

@lenaic

@lenaic lenaic commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary:
The disableImageViewPreallocationAndroid experiment is over and the flag resolves to its default (false) everywhere. Remove its read from FabricUIManagerBinding::schedulerDidRequestPreliminaryViewAllocation, keeping the default behavior: Image views are preallocated like any other view (unless disableViewPreallocationAndroid is set). The <string_view> include and literal namespace that only this check used are removed too.

The flag definition itself is removed in the next diff of this stack.

Changelog: [Internal]

Differential Revision: D135368129

…cation

Summary:
The `disableImageViewPreallocationAndroid` experiment is over and the flag resolves to its default (`false`) everywhere. Remove its read from `FabricUIManagerBinding::schedulerDidRequestPreliminaryViewAllocation`, keeping the default behavior: `Image` views are preallocated like any other view (unless `disableViewPreallocationAndroid` is set). The `<string_view>` include and literal namespace that only this check used are removed too.

The flag definition itself is removed in the next diff of this stack.

Changelog: [Internal]

Differential Revision: D135368129
@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 Dec 1, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Dec 1, 2026
lenaic added a commit to lenaic/react-native-macos that referenced this pull request Dec 1, 2026
…cation (react#60437)

Summary:

The `disableImageViewPreallocationAndroid` experiment is over and the flag resolves to its default (`false`) everywhere. Remove its read from `FabricUIManagerBinding::schedulerDidRequestPreliminaryViewAllocation`, keeping the default behavior: `Image` views are preallocated like any other view (unless `disableViewPreallocationAndroid` is set). The `<string_view>` include and literal namespace that only this check used are removed too.

The flag definition itself is removed in the next diff of this stack.

Changelog: [Internal]

Differential Revision: D135368129
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Visual regression

No visual differences at eea769461194.

ios: no capture

lenaic added a commit to lenaic/react-native-macos that referenced this pull request Dec 1, 2026
…cation (react#60437)

Summary:

The `disableImageViewPreallocationAndroid` experiment is over and the flag resolves to its default (`false`) everywhere. Remove its read from `FabricUIManagerBinding::schedulerDidRequestPreliminaryViewAllocation`, keeping the default behavior: `Image` views are preallocated like any other view (unless `disableViewPreallocationAndroid` is set). The `<string_view>` include and literal namespace that only this check used are removed too.

The flag definition itself is removed in the next diff of this stack.

Changelog: [Internal]

Differential Revision: D135368129
lenaic added a commit to lenaic/react-native-macos that referenced this pull request Dec 1, 2026
…cation (react#60437)

Summary:
Pull Request resolved: react#60437

The `disableImageViewPreallocationAndroid` experiment is over and the flag resolves to its default (`false`) everywhere. Remove its read from `FabricUIManagerBinding::schedulerDidRequestPreliminaryViewAllocation`, keeping the default behavior: `Image` views are preallocated like any other view (unless `disableViewPreallocationAndroid` is set). The `<string_view>` include and literal namespace that only this check used are removed too.

The flag definition itself is removed in the next diff of this stack.

Changelog: [Internal]

Differential Revision: D135368129

@Abbondanzo Abbondanzo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync
meta-codesync Bot merged commit 075deb0 into react:main Dec 4, 2026
70 of 76 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @lenaic in 075deb0

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 4, 2026
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. 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.

3 participants