Move YogaKit to YGErrataClassic #1261

Closed
NickGerleman wants to merge 2 commits from export-D45298803 into main

2 Commits

Author SHA1 Message Date
Nick Gerleman
dae7d8e09e Move YogaKit to YGErrataClassic (#1261)
Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1261

YogaKit integrates Yoga with UIKit as a higher level framework. It does not expose config setting to users.

We set YGErrataClassic for now to prioritize compatibility instead of conformance (YogaKit is relatively used in fbsource as well).

I'm also tempted to remove the usage of ExperimentalWebFlexBasis since last I heard rozelle thought it was generally broken, but I am a bit afraid to if it has been enabled so long, and is used in many cases in Meta.

Reviewed By: yungsters

Differential Revision: D45298803

fbshipit-source-id: f4911b5d99cbff3605de01a0b03166db042f9d98
2023-04-27 10:19:01 -07:00
Nick Gerleman
f664ee0a9d Deprecate Java YogaConfig.setUseLegacyStretchBehaviour()
Summary: Now that our own usages are removed, mark this as deprecated to encourage users to move to the errata API. The same will be done to variants of this function on other platforms before releasing, and the functions will be removed after releasing.

Differential Revision: D45300343

fbshipit-source-id: 68182a4d737664eeea33f148248bdd9314d5f9c1
2023-04-27 10:18:29 -07:00