Differentiate between states and props.
| Conditions | State | Props |
|---|---|---|
| 1. Receive initial value from the parent component | Yes | Yes |
| 2. Parent component can change the value | No | Yes |
| 3. Set default values inside the component | Yes | Yes |
| 4. Changes inside the component | Yes | No |
| 5. Set the initial value for child components | Yes | Yes |
| 6. Changes inside child components | No | Yes |

