Reactive Component Version
Automatically updates output when input changes.
Button Component
Updates output only when button is clicked.