Class Vs Functional in react
Function components are simpler, use Hooks (useState, useEffect), and are the industry standard for modern React apps. Class components use lifecycle methods (componentDidMount) and 'this'. Functional components offer better code reuse via custom hooks and generally faster performance due to less overhead.