What is the difference between functional and class components in React?
Sigiloso
I explained that functional components are simpler, use hooks for state and lifecycle, and are preferred in modern React. Class components use lifecycle methods and require this, but are now less common.