Undeprecate Config setting APIs (#36990) #1251

Closed
NickGerleman wants to merge 1 commits from export-D45133646 into main
NickGerleman commented 2023-04-19 17:02:25 -07:00 (Migrated from github.com)

Summary:
X-link: https://github.com/facebook/react-native/pull/36990

YGNode::setConfig was deprecated as part of D15416474 in an apparent goal to remove config pointers per-Node.

While I don't know the history of the motivation here, these config pointers were never removed, and we will be doubling down on per-node configs for StrictLayout, so we will want to undeprecate this.

This also exposes functions to the public C ABI, but I didn't spend the effort to create language projections for it.

Differential Revision: D45133646

Summary: X-link: https://github.com/facebook/react-native/pull/36990 YGNode::setConfig was deprecated as part of D15416474 in an apparent goal to remove config pointers per-Node. While I don't know the history of the motivation here, these config pointers were never removed, and we will be doubling down on per-node configs for StrictLayout, so we will want to undeprecate this. This also exposes functions to the public C ABI, but I didn't spend the effort to create language projections for it. Differential Revision: D45133646
facebook-github-bot commented 2023-04-19 17:03:09 -07:00 (Migrated from github.com)

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

This pull request was **exported** from Phabricator. Differential Revision: [D45133646](https://www.internalfb.com/diff/D45133646)
facebook-github-bot commented 2023-04-20 14:06:01 -07:00 (Migrated from github.com)

This pull request has been merged in facebook/yoga@19e15a4455.

This pull request has been merged in facebook/yoga@19e15a4455a33cbad7b053f020e3fd47aa89359c.

Pull request closed

Sign in to join this conversation.
No description provided.