In React, data flows in one direction only: From the parent to the child. This makes components really simple and predictable. They take props from the parent and render. If a prop is changed at the top level component, React will propagate that change all the way down the component tree and re-render all the components that used that property.
Components can also have internal state, which should only be modified within the component.
React components are inherently simple and you can consider them as a function that take
state and output HTML.
In this chapter we look will look at:
“props”, short for “properties" are passed to ...