browniebroke / gatsby-image-gallery

Very basic gallery grid based on gatsby-image
https://gatsby-image-gallery.netlify.app
MIT License
130 stars 24 forks source link

Replace Lightbox Implementation #899

Open browniebroke opened 2 years ago

browniebroke commented 2 years ago

The lightbox library we depend on hasn't been updated in a while, might be unmaintained. Explore potential replacements:

https://blog.logrocket.com/comparing-the-top-3-react-lightbox-libraries/

Would need to make sure it supports React 18

Upvote & Fund

Fund with Polar

browniebroke commented 1 year ago

The repo is now archived https://github.com/frontend-collective/react-image-lightbox

gausie commented 1 year ago

The recommended replacement library is https://github.com/dromru/react-photoswipe-gallery

browniebroke commented 1 year ago

I've migrated one of my projects to react-photoswipe-gallery, and I'm not sure there is much value in migrating gatsby-image-gallery to it. Their API is slightly more verbose, but it is also more powerful, as the user can style the grid as they wish.

Alikont commented 3 months ago

Well, I've had a nice day debugging this today.

So Image Gallery depends on react-image-lightbox which depends on parcel-bundler (deprecated) which depends on deasync.

Node released a breaking change in process.spawn here, the deasync lib got updated, but parcel-bundler doesn't update dependency, so the whole build now breaks on npm install.

So yeah, just for the sake of having a production-stable supply chain, please update it.