twilio / twilio-video-app-react

A collaboration application built with the twilio-video.js SDK and React.js
Apache License 2.0
1.81k stars 728 forks source link

Feature: Event bus #659

Closed leolurch closed 2 years ago

leolurch commented 2 years ago

I added an event bus for future usage. A event bus instance can be passed down by a context provider and later used in hooks. With this we don't have to rerender all the components, when only one far down in the hierarchy actually has to be changed.