Releases: beekai-oss/react-simple-img
Releases · beekai-oss/react-simple-img
Version 2.1.8
- remove data-from-server
Version 2.1.7
- support IE 11 with indexOf instead of startsWith
Version 2.1.5
initSimpleImg([config], disableAnimationAfterCache = false, logConsoleError = false)
now have third argument logConsoleError
, which by default will not log error which caused by image fetch failure.
Version 2.1.2
- when placeholder set to false, you can still apply aspect ratio
Version 2.1.1
- update
package.json
peerDependency (react
andreact-dom
)
v2.1.0
Version 1.14.0
placeholder
set to false will removediv
wrapper- Support server side refresh with
date-from-server
into<img />
Version 1.13.1
- change importance from 'high' to 'auto' for load image after load event
Version 1.13.0
- Support priority hints with importance "low" | "High" ❤️
low: load image intersection observer and after load event
high: load image image after load event
Version 1.12.0
initSimpleImg
is no longer required to run the img.