Different kinds of components
All the components you have seen up this point, in this blog post series, have been of the regular React type; either based on Component or PureComponent. There are two others.
The last kind is stateless functional components. They look like this:
https://gist.github.com/hjertnes/06b1d359c922b4a0d210069625cb5e50 ` The functional components are useful; and a highly controversial topic among some. The easiest way to understand them is to think of them as a component only being the render method. It will re-render every time the props change. And they don’t have any life cycle or state. I think they are useful for a number of reasons