**** You can simply define the useState like that **** const [, forceUpdate] = React.useState(0); ==== >> And usage: forceUpdate(n => !n)