ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
See original GitHub issueIs this a bug report, a feature request, or a question?
Bug Report
Have you followed the required steps before opening a bug report?
(Check the step you’ve followed - put an x
character between the square brackets ([]
).)
- I have read the guidelines regarding bug report.
- I have reviewed the documentation in its entirety, including the dedicated documentations 📚.
- I have searched for existing issues and made sure that the problem hasn’t already been reported.
- I am using the latest plugin version.
- I am following the issue template closely in order to produce a useful bug report.
Have you made sure that it wasn’t a React Native bug?
Yes, it’s a warning from React Native about something carousel is using that’s going away.
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Not platform sepecific.
Is the bug reproductible in a production environment (not a debug one)?
Yes.
Environment
(Write your answer here.)
Expected Behavior
Should migrate to ViewPropTypes exported from ‘deprecated-react-native-prop-types’ for now or potentially find a longer term solution.
Actual Behavior
Warnings that it will break on future RN release.
Reproducible Demo
Any RN project using 68.1+ or Expo 45+ and carousel will display the warning.
Steps to Reproduce
Any RN project using 68.1+ or Expo 45+ and carousel will display the warning.
Issue Analytics
- State:
- Created a year ago
- Reactions:33
- Comments:16
Top Results From Across the Web
ViewPropTypes will be removed from React Native. Migrate to ...
ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
Read more >ViewPropTypes will be removed from React ... - Stack Overflow
ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types · Solution:.
Read more >ViewPropTypes has been removed from React Native.
Migrate to ViewPropTypes exported from ' deprecated-react-native-prop-types '. viewproptypes will be removed from react native viewproptypes ...
Read more >viewproptypes has been removed from react native. migrate to ...
ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types.
Read more >deprecated-react-native-prop-types - npm
Deprecated prop-types from React Native.. Latest version: 4.0.0, last published: 11 days ago. Start using deprecated-react-native-prop-types ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 open files ./node_modules/react-native-snap-carousel/src/carousel/Carousel.js ./node_modules/react-native-snap-carousel/src/Pagination/Pagination.js ./node_modules/react-native-snap-carousel/src/Pagination/PaginationDot.js ./node_modules/react-native-snap-carousel/src/ParallaxImage/ParallaxImage.js
edit
to
edit 1 file => 4 files It Working! can’t see warning anymore.
RN 68.1+
https://github.com/facebook/react-native/issues/33557
+1