The journey to learn how to make reusable components has come to the end.
We started from a deep study of the basics and looking at the differences between stateful and stateless components, and we saw an example of how to make a tightly coupled component reusable. We've looked at the internal state of a component, and at what point it is better to avoid using it. We learned the basics of prop types and applied those concepts to the reusable components we created.
Finally, we looked at how living style guides can help us to communicate better with other members of our team, to avoid creating duplicated components and to enforce consistency within the application.
We are now ready to learn the various techniques we can put in place to compose our components.
In the next chapter, we will talk about the communication between components and HoC.