A ref can hold the DOM element, allowing the layout effect to read measurements from it after React updates the DOM.
Question 19 of 20 in useLayoutEffect Quiz