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
BY Best Interview Question ON 13 Jan 2019