[RFC] New dependency: react-native-swiper
See original GitHub issueStatus
Adopted
New Dependency
Name: react-native-swiper URL: https://github.com/leecade/react-native-swiper
Focus
A React Native module that allows you to quickly build customisable Swiper components.
Check out the implementation and test out PR here.
Check List
- Have read over the source code, and we can maintain it
- Has had a release in the last year or looks done and stable
Alternatives
react-native-swiper
seems to be the easiest solution for the purpose of the task (swipe between slides that display data and, based on the index of the card, update the slide-specific data). The Swiper component makes it easier to operate with indexes of the slides and child components.
Before testing react-native-swiper
, I’ve tried out using SrollView. The implementation seemed to be not as transparent and robust as react-native-swiper
, plus the ScrollView renders all child components at once, which adds more complexity to future tasks. With react-native-swiper
we can render only the current slide.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:9 (9 by maintainers)
Top GitHub Comments
Actually react-native-swiper is more like stable than unmaintained, it’s become kind of the defacto go-to solution for swipers in react-native. The Flatlist/Scrollview API hasn’t changed much over the past few years and that explains why not much has been added to react native swiper.
My only concern regarding this lib is it had no maintenance over the past 2 years 😢