diegoddox/react-redux-toastr

Cannot read property 'classList' of null

tracker1 opened this issue · 1 comments

Probably only because of hot module replacement in development builds, but may want to guard against the component reference before accessing children, just so that this kind of error doesn't bubble out.

ToastrBox.js?9757:350 Uncaught TypeError: Cannot read property 'classList' of null
    at ProxyComponent._setTransition (ToastrBox.js?9757:350)​
    at ProxyComponent._setTransition (react-hot-loader.development.js?9cb3:580)​
    at ProxyComponent._removeToastr (ToastrBox.js?9757:333)​
    at ProxyComponent._removeToastr (react-hot-loader.development.js?9cb3:580)

Because of inactivity I will close this issue but feel free to reopen in case anyone feels that this has to be addressed.