Getting data IN
React simply renders components, using data from only two places: props
and state
.
One of the first things you learn in working with React is state. It’s pretty fundamental to React. It’s essentially data, and it could be anything!