Skip to content

github-fixes-#31-error-maximum-call-stack-exceeded#39

Merged
DanaShalev merged 2 commits into
masterfrom
github-fixes-#31-error-maximum-call-stack-exceeded
Dec 31, 2017
Merged

github-fixes-#31-error-maximum-call-stack-exceeded#39
DanaShalev merged 2 commits into
masterfrom
github-fixes-#31-error-maximum-call-stack-exceeded

Conversation

@DanaShalev
Copy link
Copy Markdown
Contributor

Remove Image.shouldComponentUpdate since React already compares the element before changing the DOM. Since the Image.render method is less expensive than Image.shouldComponentUpdate we are better off without it.

@DanaShalev DanaShalev requested a review from eitanp461 December 28, 2017 15:05
@eitanp461
Copy link
Copy Markdown
Contributor

@DanaShalev in the commit message (when merging) add that this fixes #31 and #20

@DanaShalev DanaShalev merged commit b351d41 into master Dec 31, 2017
@ghost ghost deleted the github-fixes-#31-error-maximum-call-stack-exceeded branch February 23, 2020 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants