Pergunta de entrevista da empresa Decos

What are the different ways to communicate between components if there is no relation between components. Example there is parent component and in that there are two child component A and B but no relation between them