Skip to content

Add codegen support for DimensionValue for components#35953

Closed
genkikondo wants to merge 1 commit into
facebook:mainfrom
genkikondo:export-D42650799
Closed

Add codegen support for DimensionValue for components#35953
genkikondo wants to merge 1 commit into
facebook:mainfrom
genkikondo:export-D42650799

Conversation

@genkikondo
Copy link
Copy Markdown
Contributor

Summary:
DimensionValue is a reserved prop type that can be a number or string (such as '50%'). On Java, it will get converted to a YogaValue (converter added to this diff); on C++ it will get converted to a YGValue (converter already exists as it's used in Fabric).

Changelog:
[Internal][Added] - Add codegen support for DimensionValue for components

Differential Revision: D42650799

@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 fb-exported labels Jan 24, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot react-native-bot added the Type: Enhancement A new feature or enhancement of an existing feature. label Jan 24, 2023
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,463,073 +162
android hermes armeabi-v7a 7,783,659 +170
android hermes x86 8,936,334 +162
android hermes x86_64 8,794,409 +176
android jsc arm64-v8a 9,648,919 +46
android jsc armeabi-v7a 8,383,412 +42
android jsc x86 9,711,175 +51
android jsc x86_64 10,188,184 +47

Base commit: d5e6d9c
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: #35953

DimensionValue is a reserved prop type that can be a number or string (such as '50%'). On Java, it will get converted to a YogaValue (converter added to this diff); on C++ it will get converted to a YGValue (converter already exists as it's used in Fabric).

Changelog:
[Internal][Added] - Add codegen support for DimensionValue for components

Differential Revision: D42650799

fbshipit-source-id: 38831635febb2eb51d6703ecb34f2fa2fad8c974
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 27, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in d3cc48d.

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 Type: Enhancement A new feature or enhancement of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants