EventBus in React / Redux Applications
<p>I am new to react and wondering what the best way to have decoupled communication in a modular React based application. Actually my issue is a plain old JavaScript abstraction over a restful API that is consumed by a React application.  </p>

<p>I have a need to notify a consumer of the API abstraction that something has happened (session has timed out on the server as it happens).  </p>

<p>Ordinarily I would use pub sub / an event bus. </p>

<p>I have considered adding another shared redux layer but that still couples everything together though delegates the coupling into the shared module which I guess is a mediator.</p>

<p>I can't find much about this online.</p>

<p>Anyone got thoughts on this?</p>

<p>Thanks</p>