ReactJS Components
Components are the building blocks of a React app. A component can be thought of as a function (or class) that returns some part of the UI.
We typically create one main App component and other smaller components (like Joke and Button) that can be reused.
For example, our Joke component handles fetching and displaying the joke, while a Button component renders the button element. Components accept inputs called props and render UI accordingly.


