Props are inputs passed into a component by its parent (read-only from the child's view). State is data a component owns and manages internally (it can change it). The distinction: props come from outside and don't change within the component; state is internal and mutable.
Props — passed in, read-only
() {
;
}
< name= />
