From the introduction:

uWrap exists to efficiently predict varying row heights for list and grid virtualization[1], a technique for UI performance optimization when rendering large, scrollable datasets.

[1] https://www.patterns.dev/vanilla/virtual-lists/