How is react element tree is constructed for wrapped components? consider I have a below app structure