Components are important because they give sections of code specific roles and provide ease of use/reusability.
Prop advantages are that they allow for transfer of datas more efficiently between a parent and child element.
A component is a piece of software that has a certain set of functionalities and has a defined interface.
Some characteristics of components are: “modular, portable, replaceable, independent and reusable” source. They also have defined functionalities and interact with other components.
Some advantages of using component-based architecture are that it increases reusability, reliability, reduced cost, ease of deployment/development: “it is easier to replace existing versions with no impact on the other components or the system as a whole” source.
“Props” is short for properties
“Props are passed from one component to another like function arguments.” Props data is immutable. source.
They can only be passed to components uni-directionally (Parent to child).