React Functional Components vs. Class Components

Functional components are simpler and easier to test in comparison to class components. However, both of them have pros and cons and today you’ll learn the differences and when to use which type of components. Photo by Andrew Ridley on Unsplash Introduction When I started learning about React, I wondered why there are different approaches on how to … Continue reading React Functional Components vs. Class Components