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

Image is loaded twice #32

Open
Open

Description

@ioanlucut

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.

Activity

  1. changed the title [-]Delay prop loads the image twice[/-] [+]Image is loaded twice[/+] on Jun 25, 2019
  2. hilja commented on Aug 4, 2019

    @hilja

    Was wondering the same just.

  3. 7oque commented on Dec 2, 2019

    @7oque

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

  4. morganfeeney commented on Dec 13, 2019

    @morganfeeney

    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.

  5. sanishkr commented on Dec 24, 2019

    @sanishkr

    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.

  6. mattg66 commented on May 30, 2020

    @mattg66

    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

  7. endrureza commented on Jul 31, 2020

    @endrureza

    has this issue been solved?

  8. 7oque commented on Jul 31, 2020

    @7oque

    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.

  9. adshrc commented on Nov 23, 2020

    @adshrc

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions