Component - Why state drives UI updates
This UI component shows a simple counter app. It demonstrates how changing the state (the counter number) updates the UI automatically. When you tap the button, the number increases and the screen refreshes to show the new value.