valor inicial de Useref
const reference = useRef(initialValue);
KostasX
const reference = useRef(initialValue);