Skip to content
zenui/react-hooks

useUpdate

Return a stable function that re-renders the component. Use it when the data you show lives outside React state, such as a ref or a mutable object.

Level
Basic
Since
v1.0.0
import {useUpdate} from '@zenuilabs/react-hooks';
Loading demo_

More in State