function Example() { const [count, setCount] = React.useState(0); function handleAlertClick() { setTimeout(() => { alert('You clicked on: ' + count); }, 3000); } return (

You clicked {count} times

);}ReactDOM.render(,document.querySelector("div"));