Can useRef remember a prop value between renders without changing the prop itself?
A ref can remember the current or previous value of a prop for use in an event handler or Effect. This does not mutate the prop or cause the parent component to update.