The main difference between stateful and stateless components is one has state and the other doesn’t. Stateful components keep track of changes to their state and re-render themselves when the state changes. Stateless components, on the other hand, render whatever is passed to them via props
or always render the same thing.