- bug: Don't pass decode prop to underlying
<img>
- Use img.decode() by default where available
- Add support for React 16
- move to new prop-types package
- add 100% test coverage
- Renamed to react-image
- Housekeeping: update dependencies
- Add recipes
- Fix Readme formatting
- Start iteration at current location
- Add a cache so that we don't attempt the same image twice (per page load)
- Fix issue where index would overshoot available sources
- Don't try setting state if
this.i
was already destroyed, which probably means that we have been unmounted
- Remove Browsierfy config
- Revert 0.4.0
- Don't overshoot sourceList when state.currentIndex
- Ensure state has been set before trying to load images when new props are delivered
- Restart the loading process when src prop changes
- Don't use
until we know the image can be rendered. This will prevent the "jumping" when loading an image and the preloader is displayed at the same time as the image
- Don't require
src
to be set
- Made react a peer depends
- Return
null
instead of false from React component. Thanks @tikotzky!