const [, updateState] = React.useState(); const forceUpdate = React.useCallback(() => updateState({}), []);