react-photo-gallery v7.0.0 Release Notes

Release Date: 2019-04-20 // over 5 years ago
  • 💥 Breaking Changes

    • 🆕 New algorithm being used which ignores columns prop when direction=row (default). Photos per row are now determined by the new algorithm keeping in mind the user defined targetRowHeight.
    • ImageComponent renamed to renderImage
    • targetRowHeight. New prop. The algorithm will do its best to keep rows close to this height
    • limitNodeSearch. New prop. Limits the amount of neighboring nodes to check for the best row