{"version":"2.1.280","anchor":"regression-fix-in-memoized-regionkids-lookup","canonical_anchor":"regression-fix-in-memoized-regionkids-lookup","heading":"Regression fix in memoized regionKids lookup","tier":"internal","area":"UI Components","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/regression-fix-in-memoized-regionkids-lookup","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Regression fix in memoized regionKids lookup\n\nFixed a bug where a region-lookup cache referenced an undefined variable\n\n**What**\n\nA memoization map (a cache keyed by lookup results so the same computation isn't repeated) had been built using an out-of-scope variable, `W.regionKids` and `W.id`. It now correctly uses the loop variable, `te.regionKids` and `te.id`.\n\n**Why**\n\nThe old code referenced a variable that wasn't actually in scope for that lookup, which could produce incorrect or broken results. This fix makes the cache use the correct data.\n\n- Area: UI Components\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}