meliorence / meliorence/react-native-snap-carousel
ERROR ViewPropTypes will be removed from React Native, along with all other PropTypes. We recommend that you migrate away from PropTypes and switch to a type system like TypeScript.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
[Expo App] - React native IOS
ERROR ViewPropTypes will be removed from React Native, along with all other PropTypes.
We recommend that you migrate away from PropTypes and switch to a type system like TypeScript.
If you need to continue using ViewPropTypes, migrate to the deprecated-react-native-prop-types package.
This package provides the old PropTypes that have been removed from React Native.
-
npm install deprecated-react-native-prop-types -
Import the
ViewPropTypesfromdeprecated-react-native-prop-typesinstead ofreact-native
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
- Replace all instances of ViewPropTypes in theses files
Carousel.js,Pagination.js,PaginationDot.js,ParallaxImage.js
Contributor guide
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 inspecting Carousel.js, Pagination.js, PaginationDot.js, and ParallaxImage.js for their ViewPropTypes imports and usages. Review the issue's installation and import guidance, then replace the affected imports with deprecated-react-native-prop-types. Done means all listed files no longer import ViewPropTypes from react-native.
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
- Half a day
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100