getBoundingClientRect reads an element position and size, which is common when measuring layout.
Question 9 of 20 in useLayoutEffect Quiz