Skip to content

Handle NaN values in PixelUtil#45690

Closed
NickGerleman wants to merge 4 commits into
facebook:mainfrom
NickGerleman:export-D60265329
Closed

Handle NaN values in PixelUtil#45690
NickGerleman wants to merge 4 commits into
facebook:mainfrom
NickGerleman:export-D60265329

Conversation

@NickGerleman
Copy link
Copy Markdown
Contributor

Summary:
ViewManager layer often uses YogaConstants.UNDEFINED (NaN) as null-state value. Teaching PixelUtil how to handle NaN values makes glue code around easier.

Changelog: [Internal]

Differential Revision: D60265329

Summary:
We built these to be able to parse web style string values, but the types only allow object form, and the TypeScript type is wrong.

Changelog: [Internal]

Differential Revision: D60263730
@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 Jul 26, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Differential Revision: D60252277
Differential Revision: D60252276
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: facebook#45690

ViewManager layer often uses `YogaConstants.UNDEFINED` (`NaN`) as null-state value. Teaching PixelUtil how to handle `NaN` values makes glue code around easier.

Changelog: [Internal]

Differential Revision: D60265329
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 06e38b5.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 27, 2024
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