leecade / leecade/react-native-swiper
Fresh install problem: Swiper keeps adding views
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
Mac
Version
Which versions are you using:
- react-native-swiper latest
- react-native v0.57
Expected behaviour
I expect a package with 7k stars to work, at least when I install (discovering bugs later still sucks though).
Actual behaviour
I installed Swiper, run this code:
<Swiper style={styles.wrapper} showsButtons={true}>
<View>
<Text style={styles.text}>Hello Swiper</Text>
</View>
</Swiper>
and when I run it Swiper keeps adding views to my component for ever. It's an ever ending loop.
I am quite surprised that a simple package that just makes views swipable and has 7k stars, 447 issues and 66 PRs work like this on a fresh install.
I don't remember taking LSD today, however this feels far from real. Are you guys serious? My Mac has crashed to oblivion. Get your package working in the first place or don't make it at all. This not 1st year college, jesus.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the minimal Swiper example on Mac with react-native-swiper latest and React Native 0.57. Inspect the Swiper rendering and update path to determine why a single child causes views to be added indefinitely. Done means the example renders without unbounded view creation or a crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100