Skip to content

RN: Refactor ScrollView Native Component Imports#45168

Closed
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D59015990
Closed

RN: Refactor ScrollView Native Component Imports#45168
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D59015990

Conversation

@yungsters
Copy link
Copy Markdown
Contributor

Summary:
Refactors the native component imports in ScrollView so that 1) they create less clutter in the ScrollView implementation file, and 2) they offer more efficient import inlining.

Currently, ScrollView has to evaluate both horizontal and vertical components even though only one may be used. Now this optimization is possible.

Changelog: [Internal]

Differential Revision: D59015990

Summary:
Refactors the native component imports in `ScrollView` so that 1) they create less clutter in the `ScrollView` implementation file, and 2) they offer more efficient import inlining.

Currently, `ScrollView` has to evaluate both horizontal and vertical components even though only one may be used. Now this optimization is possible.

Changelog: [Internal]

Differential Revision: D59015990
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 25, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59015990

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 08b05f3.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 25, 2024
@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by @yungsters in 08b05f3.

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

@yungsters yungsters deleted the export-D59015990 branch March 13, 2025 16:09
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants