Add yoga::Style::resolve()
for ahead-of-time computed whole style
#1455
Labels
yoga::Style::resolve()
for ahead-of-time computed whole style
#1455
What
We have different adhoc ways of resolving and caching from the user input style. These can often be repeated and expensive (e.g. for edge value resolution), and the APIs exposed for resolution are inconsistent.
We pass that computed style through
yoga::calculateLayoutInternal
, and try to remove cases where we pass a whole child Yoga node, to make it easier to reason that only layout results are being mutated.Example
References:
The text was updated successfully, but these errors were encountered: