A ref keeps the interval ID available to event handlers or Effect cleanup without triggering renders. The application must still call clearInterval itself.
Question 12 of 20 in useRef