Skip to content

useRenderCount ​

Category
Lifecycle

Hook returns count component render times

typescript
import { useRenderCount } from '@siberiacancode/reactuse';

Usage ​

typescript
const renderCount = useRenderCount();

Demo ​

Api ​

Returns

number

Contributors ​

Source • Demo