Files
yoga/yoga
Nick Gerleman 9d21e3e300 Remove config drilling (#1378)
Summary:
X-link: https://github.com/facebook/react-native/pull/39404

Pull Request resolved: https://github.com/facebook/yoga/pull/1378

We thread a config through the root node, to every function, that we don't actually use (with the exception of `canUseCachedMeasurement` in the previous diff which was passing root `pointScaleFactor`).

Since the model is currently per-node config, this only creates redundancy/confusion.

I do think we might want to make some more global/layout-pass scoped configuration in the future, but likely not with this sort of drilling.

Reviewed By: yungsters

Differential Revision: D49180385

fbshipit-source-id: 91248042df7d3cea1fc316b47b8137fcb790b521
2023-09-13 20:12:55 -07:00
..
2023-09-13 20:12:55 -07:00
2023-09-08 13:03:48 -07:00
2023-09-11 19:51:40 -07:00
2023-08-10 17:40:10 -07:00
2023-09-11 19:51:40 -07:00
2023-09-11 19:51:40 -07:00
2023-09-12 19:08:55 -07:00
2023-09-11 19:51:40 -07:00