Why you should use functional components in React

Rohit Prakash
3 min readDec 13, 2020
Photo by AltumCode on Unsplash

While many people still use class-based components in React, and they may have their own reasons as to doing so, let me tell you why you should be using functional components in your projects from here on out.

Aesthetics

Functional components look good. They make the code look crisp, concise, and easy to read. It avoids unwanted verbiage and…

--

--