Now, it's time to learn how to make components communicate with each other effectively. React is powerful because it lets you build complex applications comprising small, testable, and maintainable components. Applying this paradigm, you can take control of every single part of the application.
In this chapter, we will go through some of the most popular composition patterns and tools.
We will cover the following topics:
- How components communicate with each other using props and children
- The container and presentational patterns and how they can make our code more maintainable
- What higher-order components (HOCs) are and how, thanks to them, we can structure our applications in a better way
- What the function of the child component pattern is and what its benefits are