Guide
Components
Icons
Hooks
中文
State Management
useId
useToggle
UI & Dom
useClickOutside
useScrollLock
Other
useClipboard
useDidUpdate
useForceUpdate
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
Quick Nav
Usage
API