I think this part of documentation is misleading. This example should present how two create and render two different types of components.