useForceUpdate

useForceUpdate will return a function, calling this function will force the component to re-render
Import
import { useForceUpdate } from '@kubed/hooks;'
Source
View source code
Docs
Edit this page
npm
@kubed/hooks

Usage

useForceUpdate forces the component to re-render.

API

1
function useForceUpdate(): () => void