{"version":"2.1.228","anchor":"layout-nodes-can-drop-their-cached-measurements-in-place","canonical_anchor":"layout-nodes-can-drop-their-cached-measurements-in-place","heading":"Layout nodes can drop their cached measurements in place","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/layout-nodes-can-drop-their-cached-measurements-in-place","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### Layout nodes can drop their cached measurements in place\n\nLayout measurements can be thrown away in place so a screen can be re-measured once before giving up.\n\n**What**\n\nThe layout node class gained a recursive cache clear that marks every node in the tree dirty and resets its cached measurement and flexbox generation counters, with an iteration budget derived from the live node count. This is what makes the single re-layout retry different from simply laying out again.\n\n**Evidence**\n\n`clearLayoutCacheRecursive()`\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}