Skip to content

Commit 5a2960f

Browse files
newsletter: Add a note about layout performance (#139)
1 parent f1c0e5c commit 5a2960f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/content/newsletters/2025-03-31.mdx

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ able to find a restaurant, order the food, pay for it and even track the order t
7171

7272
![](/assets/img/newsletter-mar-2025-ubereats.png)
7373

74+
### Add intrinsic sizes cache for faster relayout
75+
76+
Intrinsic size refers to the dimensions a box would naturally take based on its content when constrained by available
77+
space, for example, the maximum height of a box when the available width is 100px. Layout algorithms compute many such
78+
intrinsic sizes during the process of determining a box's final size, requiring additional layout passes with varying
79+
constraints. Caching these intrinsic measurements for boxes unaffected by layout invalidation is a good step towards
80+
improving layout performance and reducing redundant computations during relayout.
81+
7482
### Credits
7583

7684
We'd like to thank everyone who contributed code this month:

0 commit comments

Comments
 (0)