loading code fetching the highlighted snippet
Both boxes have layout and re-render constantly (their color cycles). The left box re-measures on every render; the right box passes layoutDependency={dep}, so it only re-measures when dep changes — watch its counter stay flat.
layout element often.layoutDependency={dep}, so its measure counter
only moves when dep changes on Reflow.0 measures
0 measures