Apr 21, 2021
Hello Juanilaquiz, you are correct. This is not the best example to show this, it is a trivial example. No one should have a component that all it does is render another component. In an ideal situation, we have the Header component also doing a bunch of things and might even add some props to the profile component. The example was to show a pattern which is common and a way to solve without adding extra complexity.