Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codegen support for DimensionValue for components #35953

Closed
wants to merge 1 commit into from

Conversation

genkikondo
Copy link
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
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

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
Contributor

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

genkikondo added a commit to genkikondo/react-native that referenced this pull request Jan 24, 2023
Summary:
Pull Request resolved: facebook#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: f55b035379b88ff5b4c4647d6bbb228f6787c5a2
Summary:
Pull Request resolved: facebook#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
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
Contributor

This pull request has been merged in d3cc48d.

OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Pull Request resolved: facebook#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

Reviewed By: cipolleschi

Differential Revision: D42650799

fbshipit-source-id: 1d2bc30bbd93837dedbbb4c74f814963c8140957
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