mirror of
https://github.com/videojs/video.js.git
synced 2025-03-03 15:12:49 +02:00
When a component is disposed of, without calling ReactDOM.unmountComponentAtNode() on the data-reactroot in the destroyed component, the React.Component and videojs.Component (here EpisodeList and vjsEpisodeList) remain in memory. The videojs.Component should listen for its dispose event and unmount its React root in the corresponding React.Component.