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