Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

useUpdatedRef.d.ts 244 B

3 anni fa
12345678
  1. /// <reference types="react" />
  2. /**
  3. * Returns a ref that is immediately updated with the new value
  4. *
  5. * @param value The Ref value
  6. * @category refs
  7. */
  8. export default function useUpdatedRef<T>(value: T): import("react").MutableRefObject<T>;