Props basics, prop flow, and props vs state
Props are read-only inputs from a parent, while state is data the component manages and can change over time.
- Props flow downward
- Props are not mutated by the child
- State changes trigger re-renders
Props basics, prop flow, and props vs state