Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Image is loaded twice #32

Open
ioanlucut opened this issue May 17, 2019 · 8 comments
Open

Image is loaded twice #32

ioanlucut opened this issue May 17, 2019 · 8 comments

Comments

@ioanlucut
Copy link

ioanlucut commented May 17, 2019

First of all, thank you for the great library.

I integrated it in one of our apps and I noticed that by using the basic example, the image gets loaded twice.

Is this some kind of expected behavior?

Thank you.

@ioanlucut ioanlucut changed the title Delay prop loads the image twice Image is loaded twice Jun 25, 2019
@hilja
Copy link

hilja commented Aug 4, 2019

Was wondering the same just.

@Loque-
Copy link

Loque- commented Dec 2, 2019

I thought it was, but it's only if you have the cache disabled in devtools that this behaviour exists.

@morganfeeney
Copy link

I'm seeing this too, if I run the code in a React app the image is loaded twice, however if I grab the output html and run it in a static html file the problem does not occur.

@sanishkr
Copy link

One of the call is made by dist.js which is this library and another one is made by react-dom.development.js which I think is called only in dev mode or when network cache is disabled in chrome dev tools as mentioned by @Loque-

I thought it was, but it's only if you have the cache disabled in devtools that this behaviour exists.

@mattg66
Copy link

mattg66 commented May 30, 2020

Hi, I am also having this issue. Cache is not disabled in dev tools, and image is being loaded by both dist.js and react-dom.production.min.js

@endrureza
Copy link

has this issue been solved?

@Loque-
Copy link

Loque- commented Jul 31, 2020

From what I can tell it's not an issue. Without a test case to demonstrate it, the GitHub issue should probably be closed to prevent people thinking it is still a problem.

@adshrc
Copy link

adshrc commented Nov 23, 2020

For me it was just the case while dev tools cache was disabled. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants