Skip to content

useRerender ​

Hook that defines the logic to force rerender a component

lifecycle
test coverage
Last changed: last month

Installation ​

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

Usage ​

typescript
const rerender = useRerender();

Demo ​

Api ​

Returns

UseRerenderReturn

Type declaration ​

typescript
type UseRerenderReturn = () => void;

Source ​

Source • Demo

Contributors ​

D
debabin
debabin
H
hywax
hywax

Released under the MIT License.