// Wrong way: This alert fires when the component renders, not when clicked! <button onClick={alert('You clicked me!')}> // Correct way: <button onClick={() => alert('You clicked me!')}>