What is Component?

Component is a building block of any React app which is made by either JavaScript Function of Class. Ex. Header Component, Footer Component etc.

There are two types of Components.
  • Function Based Component
  • Class Based Component

Suggest An Answer

No suggestions avaliable!

Latest post from React js interview questions

Ask Question