issues
search
OriAmir
/
React-Responsive-Gallery
Simple and responsive gallery for react
45
stars
5
forks
source link
viteJS,error,loader,lightbox package and other improvments
#33
Closed
OriAmir
closed
1 year ago
OriAmir
commented
1 year ago
Change
webpack
to
ViteJS
as a package bundler.
Update all packages to their latest version
Add support both in commonJS(cjs) and 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.
webpack
toViteJS
as a package bundler.yet-another-react-lightbox
which is more updated and newer than the old deprecated one we used before.useLightBox
property is true.