const [updater,setUpdater] = useState(0);
function forceUpdate(){
    setUpdater(updater= > updater +1);
}
Copy the code