React question detail
Summary Table
| Feature | State | Props |
|---|---|---|
| Managed by | The component itself | Parent component |
| Mutable | Yes | No (read-only) |
| Scope | Local to the component | Passed from parent to child |
| Usage | Manage dynamic data and UI changes | Configure and customize component |
| Update | Using setState/useState | Cannot be updated by the component |