neptunian / react-photo-gallery

React Photo Gallery
http://neptunian.github.io/react-photo-gallery/
Other
1.97k stars 310 forks source link

React 17.x support #205

Open Brandons404 opened 3 years ago

Brandons404 commented 3 years ago

It would be really cool if this library supported React version 17 and up. I tried pulling the project myself to see if I could get it working with V17 but the errors I am getting are far over my head.. It seems like 3 or 4 of the peer dependencies of other modules needed for this library are conflicting with the versions installed in this library as well.

Vacilando commented 2 years ago

The plugin works with React 17, so at the minimum this only needs bumping the peer dependency up from "react": "^16.8.0" to "react": "^17.0.0". Could this be done asap, please.

mraible commented 2 years ago

I'd like to echo my support for solving this issue. It's a pain to tell folks they have to use npm i react-photo-gallery@8.0.0 --force to install this library. I'm using it in the following tutorials:

igordanchenko commented 2 years ago

@mraible,

You may want to take a look at react-photo-album since react-photo-gallery is no longer being maintained. Great articles by the way!

mraible commented 2 years ago

@igordanchenko I tried react-photo-album and it works great. Thanks!

Vacilando commented 2 years ago

@neptunian any news on this? Your gallery remains extremely popular but we need it to work with React 17 (and now React 18 as well).

skellyk commented 2 years ago

@neptunian any news on this? Your gallery remains extremely popular but we need it to work with React 17 (and now React 18 as well).

Also interested. Looking to use this, haven't attempted to get it it running personally but would be nice to use it.