-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates imagesloaded to only have a single handler at any time. Allow…
… end users to pass in options for imagesloaded
- Loading branch information
Afram
committed
Mar 31, 2018
1 parent
23cc8cd
commit e114a46
Showing
6 changed files
with
339 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
You need to add a check either for
this.imagesLoadedCancelRef
's existence or for!this.props.disableImagesLoaded
before calling this, because the code fails whendisableImagesLoaded
is set totrue
and the component is getting unmounted.