Both hold data that affects what a component renders, but they differ in who owns the data and whether it can change.
- props are passed into a component from its parent. They are read-only — the component must never modify them.
- state is owned and managed the component. It can change over time, and changing it triggers a .
