Skip to content

viteJS, error, loader, lightbox package and other improvements (#33) @OriAmir

Compare
Choose a tag to compare
@OriAmir OriAmir released this 20 Feb 18:20
· 2 commits to master since this release
0025a2d
  • Change webpack to ViteJS as a package bundler.
  • Update all packages to their latest version
  • Build only with ESModules.
  • Change the lightbox component to yet-another-react-lightbox which is more updated and newer than the old deprecated one we used before.
  • Add a Loader option to show when the image is loaded.
  • Add an Error option to show when image load is failed.
  • Load the lightbox components only if useLightBox property is true.
  • Don't show the select(checkbox) option until the image is loaded.
  • Memo images if they have not changed.