So far the way we have been writing components has been functional like so.
const Hello = (props) => (
Hello {props.name}
)
You can also use an ES6 class to define a component. Instead of returning the JSX the class component has a render method that returns that component. Props are also