React does not track ref.current mutations as reactive updates. The value changes, but the component is not re-rendered because of that mutation.
Question 4 of 20 in useRef