Open browniebroke opened 2 years ago
The repo is now archived https://github.com/frontend-collective/react-image-lightbox
The recommended replacement library is https://github.com/dromru/react-photoswipe-gallery
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.
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.
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