1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-03 15:12:49 +02:00
Edward Hummerston 1fa9dfbee2 docs(react guide): update guide to prevent memory leaks when components are disposed of (#4998)
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.
2018-03-07 12:09:06 -05:00
..
2018-01-22 17:07:05 -05:00
2018-01-22 17:07:05 -05:00