ViewPagerAndroid and Slider moved from RN 0.59 to external packages
Closed this issue · 7 comments
Warning: ViewPagerAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. See https://github.com/react-native-community/react-native-viewpager
Warning: Slider has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. See https://github.com/react-native-community/react-native-slider
Will be needed to run react-native link
after upgrade?
@betoharres: no need to do that.
While this is not released you may run yarn add kmagiera/react-native-gesture-handler#ff74e0e
which points to #506.
released with this changes now?
Same problem happens when I navigate to screen that has "Swiper".(import Swiper from 'react-native-swiper')
my package.json:
{
"name": "thirtyDays",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.8.3",
"react-native": "0.59.8",
"react-native-gesture-handler": "kmagiera/react-native-gesture-handler",
"react-native-swiper": "^1.5.14",
"react-native-vector-icons": "^6.4.2",
"react-navigation": "^3.11.0"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/runtime": "^7.4.4",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"metro-react-native-babel-preset": "^0.54.1",
"react-test-renderer": "16.8.3"
},
"jest": {
"preset": "react-native"
}
}
When can we expect a new release with this warning fix?
+1