Props vs State
Props
- Input passed to a component
- Similar to function arguments
- Immutable (unchangeable/readable)
- Cause a re-render
State
- Internal Data managed by a component that can change overtime
- Similar to local variables
- Mutable (changeable)
- Cause a re-render