Dashboard sipadu mbip
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

useWillUnmount.d.ts 187B

123456
  1. /**
  2. * Attach a callback that fires when a component unmounts
  3. *
  4. * @param fn Handler to run when the component unmounts
  5. */
  6. export default function useWillUnmount(fn: () => void): void;