Skip to content

useRerender ​

Category
Lifecycle

Hook that defines the logic to force rerender a component

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

Usage ​

typescript
const { id, update } = useRerender();

Demo ​

Api ​

Contributors ​

Source • Demo