Yes.
prop variables have a 100-character maximum limit.
From the parent compenent.
component props: A component with a render prop takes a function that returns a React element and calls it instead of implementing its own render logic.
component state: State is managed within the component (similar to variables declared within a function).
application state: Is simply the state at which an application resides with regards to where in a program is being executed and the memory that is stored for the application.
The Component Lifecycle
Higher-Order Components
React State and setState()
React Context
props.children on components that represent ‘generic boxes’ and that ‘don’t know their children ahead of time’.
const Picture = (props) => {
return (
<div>
<img src={props.src}/>
{props.children}
</div>
)
}
Some components don’t know their children ahead of time. This is especially common for components like Sidebar or Dialog that represent generic “boxes”.
Sometimes we think about components as being “special cases” of other components. For example, we might say that a WelcomeDialog is a special case of Dialog.
At Facebook, they use React in thousands of components, and they haven’t found any use cases where they would recommend creating component inheritance hierarchies.
Props and composition give you all the flexibility you need to customize a component’s look and behavior in an explicit and safe way. Remember that components may accept arbitrary props, including primitive values, React elements, or functions.