Fixes Memory Leak https://github.com/contra/react-responsive/issues/280
Mql(matchmediaquery) creates an event listener to its own update function in its closure when new instance created that can only be removed when disposed is called
This commit covers several area where Mql object is created and calls its dispose method when finish using it
Fixes Memory Leak https://github.com/contra/react-responsive/issues/280 Mql(matchmediaquery) creates an event listener to its own
update
function in its closure when new instance created that can only be removed when disposed is called This commit covers several area where Mql object is created and calls its dispose method when finish using it