Legitcode / image

an img tag, with lazy loading
http://legitcode.github.io/image/
47 stars 0 forks source link

Support changing image src after initial render #2

Open zackify opened 9 years ago

zackify commented 9 years ago

@nmn

zackify commented 9 years ago

@nmn ping

luisrudge commented 9 years ago

why? if you receive the src via props, just re-render with different props

zackify commented 9 years ago

Yes but it will not restart the animation. On Tue, Sep 15, 2015 at 07:49 Luís Rudge notifications@github.com wrote:

why? if you receive the src via props, just re-render with different props

— Reply to this email directly or view it on GitHub https://github.com/Legitcode/image/issues/2#issuecomment-140417941.

zackify commented 9 years ago

@nmn https://github.com/Legitcode/image/tree/feature/props-change my first attempt doesn't seem to work that well.

zackify commented 8 years ago

@nmn still want to do this? :)