Skip to content

Conversation

@NickGerleman
Copy link
Contributor

Summary:
Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Differential Revision: D45133644

@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 Apr 19, 2023
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/litho that referenced this pull request Apr 25, 2023
Summary:
X-link: facebook/react-native#36989

Pull Request resolved: facebook#941

X-link: facebook/yoga#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: 3455739e33be3d81cb6e64ca885e9e5695391039
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Apr 25, 2023
Summary:
Pull Request resolved: facebook#36989

X-link: facebook/litho#941

X-link: facebook/yoga#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: 4fda35f098748cea0003572dd3fc254844e1d18d
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 25, 2023
Summary:
X-link: facebook/react-native#36989

X-link: facebook/litho#941

Pull Request resolved: facebook#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: 625b9b5a721a2fee10c3a637779b01208b300e86
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,624,897 -357
android hermes armeabi-v7a 7,937,532 -488
android hermes x86 9,111,778 -262
android hermes x86_64 8,966,631 -304
android jsc arm64-v8a 9,188,944 -369
android jsc armeabi-v7a 8,379,041 -492
android jsc x86 9,247,173 -271
android jsc x86_64 9,505,674 -300

Base commit: ba92700
Branch: main

Summary:
Pull Request resolved: facebook#36989

X-link: facebook/litho#941

X-link: facebook/yoga#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: f22565a348a5a479bf18b53f0f9d820f905c054c
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Apr 25, 2023
Summary:
X-link: facebook/react-native#36989

X-link: facebook/litho#941

Pull Request resolved: facebook#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: 4317eefdd323cfa2fc84d56954bd35254e0bf40d
NickGerleman added a commit to NickGerleman/litho that referenced this pull request Apr 25, 2023
Summary:
X-link: facebook/react-native#36989

Pull Request resolved: facebook#941

X-link: facebook/yoga#1249

Cleans up some of the changes to UseWebDefaults that were made in the interest of moving it outside of YGConfig. It still exists in YGConfig, but also exists on the node.

We also assert on null config, or when someone tries to change UseWebDefaults after creating a node (since right now YGStyle does not know the difference between unset vs set explicitly to what would normally be default).

Removes a peculiar constructor which was added to avoid config setting.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45133644

fbshipit-source-id: f5f4b526660faaca17bd9d8579d2c8bfb366b141
@facebook-github-bot
Copy link
Contributor

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

@cortinico
Copy link
Contributor

Merged in 0e5d54a

@cortinico cortinico closed this Aug 7, 2023
@cortinico cortinico added the Merged This PR has been merged. label Aug 7, 2023
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.

4 participants