Skip to content

Conversation

@yungsters
Copy link
Contributor

Summary:
Changes StyleSheet to lazily compute the hairlineWidth property, removing the synchronous dependency of importing StyleSheet on the initialization of the PixelRatio TurboModule.

Changelog:
[General][Changed] - Importing hairlineWidth no longer eagerly initializes the PixelRatio TurboModule.

Differential Revision: D90339801

Summary:
Changes `StyleSheet` to lazily compute the `hairlineWidth` property, removing the synchronous dependency of importing `StyleSheet` on the initialization of the `PixelRatio` TurboModule.

Changelog:
[General][Changed] - Importing `hairlineWidth` no longer eagerly initializes the `PixelRatio` TurboModule.

Differential Revision: D90339801
@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 Jan 8, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 8, 2026

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

@meta-codesync
Copy link

meta-codesync bot commented Jan 8, 2026

This pull request has been merged in e11a2f0.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 8, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @yungsters in e11a2f0

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

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.

3 participants