mitt

How to communicate between sibling components – ReactJS Observer pattern 

In ReactJS, component communication is a fundamental concept. While parent-child communication is relatively straightforward, what happens when you need to make two sibling components talk to each other without passing props through their parent? At Zen8Labs, we strive to solve problems in various ways, and this is one of the methods we have applied.