Skip to content

What is difference between Class Component and Functional Component in React? #67

Discussion options

You must be logged in to vote

Class components use ES6 classes to define a component, whereas functional components are defined as JavaScript functions.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by suzukidavid
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants