Skip to content

Conversation

cust0dian-old
Copy link
Contributor

@cust0dian-old cust0dian-old commented Sep 10, 2016

Right now React assumes that images differ only by their index and just switches the src attribuite when images change, leading to weird display bug while new images load:

example of the issue

I think using URLs as keys should be the optimal solution here.

(Code from the PR #6 can be used to test this as well)

@benhowell benhowell merged commit 249f9f3 into benhowell:master Sep 10, 2016
@benhowell
Copy link
Owner

Another nice pickup, cust0dian!
Merged 👍

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