My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

When should I be using functional stateless components vs. React class based stateless components?

Russell Reyes's photo
Russell Reyes
·Oct 31, 2016

I have come to appreciate the simplicity of a React ES6 components. But lately I have come to know from a couple of source that I should use functional stateless components, when I can? Why should I? What benefit do they give me, as opposed to React ES6 class bassed, yet stateless, components?