React Stateless Functional Components: Nine Wins You Might Have Overlooked
Too Long; Didn't Read
React .14 introduced a simpler way to define components called stateless functional components. These components use plain JavaScript functions. Here’s the before and after in ES6: