To communicate between two independent components in React, you have the flexibility to set up a global event-driven system, or a PubSub system . An event bus implements the PubSub pattern and allows you to listen and dispatch events from components.3 Tem 2020