React Class vs. Functional Components
Definition, props, pure components, inner state, lifecycle, and performance for both class and functional components
Published in
5 min readJun 24, 2021
React gives you a choice between using a more imperative code style with class components or using the more declarative functional approach with functional components.