- Added
sideEffects
flag for optimal tree-shaking
- Extracted the
useImage({src})
hook from theImage
component - Exporting using named exports
- renamed
ImageRenderer*
toImage*
- switched status to be a string
- switched bundler to vanilla rollup
- Added support for
srcset
andsizes
- Switch from Flowtype to Typescript which changes how the library is bundled and means we're no longer providing typings for Flowtype
- Moved
react
to apeerDependency
and bumped the minimum version to^16.8.0
- fix SSR support (#1)
- improved perf by removing cascading updates