leecade / leecade/react-native-swiper
Struggling to get up to date view on swiper/stale view on swiper
Open
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 ?
Android
Version
Which versions are you using:
- react-native-swiper [1.6.0-nightly]
- react-native v0.6.1
Expected behaviour
see most up to date state of child view in swiper
Actual behaviour
child view doesn't update
Steps to reproduce
- Install react navigation + swiper
- use tab navigator, put swiper as a tab
- set swiper tab as initial tab
- see swiper child views fine with initial state
- navigate to different tab
- navigate to swiper tab with params which swiper passes to child views
- see that child views haven't updated
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 Android issue with react-native-swiper 1.6.0-nightly, React Native 0.6.1, React Navigation, and a tab navigator using the numbered steps. Inspect how the swiper tab passes params to its child views after returning from another tab. Done means the child views display the most up-to-date state after navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100