Skip to content

Releases: beekai-oss/react-simple-img

Version 2.1.8

07 Apr 20:56
Compare
Choose a tag to compare
  • remove data-from-server

Version 2.1.7

30 Mar 09:24
Compare
Choose a tag to compare
  • support IE 11 with indexOf instead of startsWith

Version 2.1.5

24 Mar 08:05
Compare
Choose a tag to compare

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

09 Mar 06:33
Compare
Choose a tag to compare
  • when placeholder set to false, you can still apply aspect ratio

Version 2.1.1

03 Mar 20:33
Compare
Choose a tag to compare
  • update package.json peerDependency (react and react-dom)

v2.1.0

25 Feb 23:36
Compare
Choose a tag to compare
  • remove context API
  • remove react simple animate
  • reduce size by half
  • add better support for server side rendering (for page refresh)
  • add onComplete props for #46
  • code clean up and restructuring
  • more unit tests coverage

Version 1.14.0

21 Feb 22:53
Compare
Choose a tag to compare
  • placeholder set to false will remove div wrapper
  • Support server side refresh with date-from-server into <img />

Version 1.13.1

21 Feb 00:22
Compare
Choose a tag to compare
  • change importance from 'high' to 'auto' for load image after load event

Version 1.13.0

18 Feb 10:17
Compare
Choose a tag to compare
  • 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

17 Feb 05:29
Compare
Choose a tag to compare
  • initSimpleImg is no longer required to run the img.