You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preparing to forthcoming PhotoSwipe v5 release dimsemenov/PhotoSwipe#1749.
It was fully rewritten and some initialization-relative concepts have changed.
react-photoswipe-gallery v2.x should get rid of CustomGallery and support only PhotoSwipe >=v5
react-photoswipe-gallery v1.x will support PhotoSwipe <=v4
What should be done:
add new props for Item component (cropped, srcset, etc.)
decide what to do with removed features like HistoryAPI/captions
implement PhotoSwipeLightbox functionality (pointerPos, global check, destroy on unmount)
The text was updated successfully, but these errors were encountered:
@irudoy we are planning to use PhotoSwipe v5 in our next.js based website. Is the v5 branch already usable, or can we contribute here to get it useable?
@Perni1984 I would not recommend using v5 in production while dimsemenov/PhotoSwipe v5 is in the beta stage. dromru/react-photoswipe-gallery/tree/photoswipe-v5 is definitely not ready yet, even though it works in general. Anyway, you can give it a try with yarn add photoswipe@dimsemenov/photoswipe#v5-beta react-photoswipe-gallery@next, if you like adventures :) But API definitely will change slightly.
irudoy
changed the title
PhotoSwipe v5
Support PhotoSwipe v5
Apr 1, 2022
Preparing to forthcoming PhotoSwipe v5 release dimsemenov/PhotoSwipe#1749.
It was fully rewritten and some initialization-relative concepts have changed.
What should be done:
The text was updated successfully, but these errors were encountered: