A component is an independant, reusable JavaScript object.
A component is:
-
Reusable
-
Replacable
-
Not context-specific
-
Extensible
-
Encapsulated
-
Independant
Component-based architecture is:
-
Easy to develop, deploy, and update
-
Lower cost
-
Reusable
-
Reliable
-
Independant
"Props" is short for properties.
Props are used in React to pass data between components.
The flow of props is uni-directional, from parent component to child component.
-
What is the difference between a library and a framework?
-
What does a fully-rendered, modern site using React look like?