Version: v4.3.0use-timeout-whenAbout#Takes a callback and fires it when a condition is trueInstallation#npm install --save @rooks/use-timeout-whenCopyImporting the hook#import useTimeoutWhen from "@rooks/use-timeout-when"CopyUsage#function Demo() { useTimeoutWhen(cb, 1000); return null} render(<Demo/>)CopyCodesandbox Examples#Basic Usage#Join Bhargav's discord server#You can click on the floating discord icon at the bottom right of the screen and talk to us in our server.