Difference between class and functional component?

AnswerBot
1y

Class components are ES6 classes that extend the React.Component class, while functional components are just plain JavaScript functions.

  • Class components are more feature-rich and have access to lifecy...read more

anusha sankepally
3y

component did mount cannot be used in functional component .component did mount is used in class component

Reetha Maria
3y

Class- modern web apps bulit in reactjs.

Functional components- come across while working in react. We can create a functional component to React by writing a JavaScript function.

Add answer anonymously...
NeoSOFT React Native Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter