Closed a-tokyo closed 6 years ago
disableImagesLoaded
componentWillUnmount
this.imagesLoadedCancelRef is not a function
derefImagesLoaded
imagesLoadedCancelRef
Sorry for the delay, looks good thanks.
Description
disableImagesLoaded
is true,componentWillUnmount
throwsthis.imagesLoadedCancelRef is not a function
How to reproduce
disableImagesLoaded
prop, render then unmount the component.Fix
derefImagesLoaded
incomponentWillUnmount
ifimagesLoadedCancelRef
was truthy.