Comparison with the original library #55
|
Hey @igordanchenko, thanks so much for creating this library especially as the old one was no longer being maintained. I was curious if there are changes to the library from the old one that we should be aware of as we switch over? Any change in features/functionality? |
Replies: 1 comment
|
The short answer to your question is there are a lot of changes. While I'll cover some of the most significant changes below, and I'll look into putting together a comprehensive migration guide on the website if this question comes up frequently. In the meantime, feel free to read through the API documentation, as I'm sure you'll find most answers to your questions over there. First of all,
In terms of features, In terms of API changes, here are the most significant ones:
Okay, these are the most noticeable changes off the top of my head, so I'm going to stop here. I'll update this discussion with the link to the migration guide when it's ready. p.s. If you like this project and end up using it, please consider giving it a star here on GitHub 🙌 |
@oyeanuj,
The short answer to your question is there are a lot of changes. While
react-photo-albumwas built on the foundation ofreact-photo-galleryand supports all of its original features, it's not a drop-in replacement as the API diverged quite noticeably. Your migration steps will vary depending on whatreact-photo-galleryAPI features you were using.I'll cover some of the most significant changes below, and I'll look into putting together a comprehensive migration guide on the website if this question comes up frequently. In the meantime, feel free to read through the API documentation, as I'm sure you'll find most answers to your questions over there.
First of all,
react-photo-album