EVENT HANDLER IN REACT
a button example in React for a specific onClick event handler
import React from 'react'
function App() {
  const handleClick = () => {
    console.log('Button click ...')
  }
  return (
    <div>
      <button type="button" onClick={handleClick}>
        Event Handler
      </button>
    </div>
  )
}
- Next: Conditional Rendering in React
 - Previous: A simple React function component