What is a component? Think about vehicle dashboard. There are various kind of indicators such as fuel meter, speedometer, accelerometer, etc. The dashboard (imagine as an application) make up with by adding all of these indicators (imagine as components). So, react components are piece of blocks which are made our…