leecade / leecade/react-native-swiper

removal of prop types on react native web

Open
#1,228 0 comments 0 reactions 0 assignees View on GitHub

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 ? Expo web
Version

Which versions are you using:

  • react-native-swiper v? 1.6.0
  • react-native v0.?.? expo sdk 39
Expected behaviour

swiper works

Actual behaviour

Bug. whole app crash

How to reproduce it>

Have an app with expo 38 and swiper

Steps to reproduce
  1. upgrade to expo 39
  2. error

Proptypes have been removed on expo web

 Can't resolve 'react-native-web/dist/exports/ViewPropTypes' in '/Users/antoinemagny/code/inSeason/node_modules/react-native-swiper/src'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in react-native-swiper/src, where the Expo web build cannot resolve react-native-web/dist/exports/ViewPropTypes. Check the import against the exports available with Expo SDK 39 and reproduce the upgrade from Expo 38. Done means the Expo web app builds and the swiper no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.