Concept Flow - Handling events in React
User clicks button
React event handler called
Handler updates state
React re-renders component
DOM updates to show new state
When a user clicks a button, React calls the event handler, which updates the state, causing React to re-render the component and update the DOM.