leecade / leecade/react-native-swiper
The response is slow when the data is too large.
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
constructor(props) {
super(props)
var list = []
for (i = 0; i < 600; i++) {
list.push('https://www.baidu.com/img/bd_logo1.png')
}
this.state = {
imgList: list,
loadQueue: [0, 0, 0, 0]
}
this.loadHandle = this.loadHandle.bind(this)
}
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
Reproduce the slowdown from the constructor example with 600 image URLs, then trace how imgList and loadQueue are consumed by the swiper. Compare behavior with a smaller list and define completion as responsive handling of the large dataset without the reported delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100