In the previous article, you were able to read about the basics of React props. In that article, we wrote about things like sending event handling functions as props, spread operators, and sending props with a cloning children prop. Overall, it was all the standard flow, where the parent passes the props to child components.
Today, we’re spicing up the game and covering a bit more advanced themes – how the component can send information to the parent via props, and how components on the same level (under the same parent) can communicate by using props. Note that there are other, more advanced ways to realize communication between components (using more advanced ways to manage app state, like Redux), but in this article, we’re talking about props only.