1 2
const [state, updateState] = React.useState(); const forceUpdate = React.useCallback(() => updateState({}), []);
1
this.forceUpdate();
No recent searches