Closed iamgouravturka closed 3 years ago
Hello @iamgouravturka Could you provide more details ? I don't understand this error TBH
Hello @iamgouravturka Could you provide more details ? I don't understand this error TBH
on a brand new react native project , if you install react-native-pager-view and do the example provided and run on web/android/ios , you will get this error , i run into this issue myself now and im looking into it
viewpager does not support the web. More context here: https://github.com/callstack/react-native-pager-view/issues/91
I know it does not support web, but when I using it, it break all my app, although I exclude it: const isNative = Platform.OS !== "web"; {isNative && (PagerView here)
I know it does not support web, but when I using it, it break all my app, although I exclude it: const isNative = Platform.OS !== "web"; {isNative && (PagerView here)
@phatnguyentan have you found any solution or workaround for that? Many thanks!
I know it does not support web, but when I using it, it break all my app, although I exclude it: const isNative = Platform.OS !== "web"; {isNative && (PagerView here)
@phatnguyentan have you found any solution or workaround for that? Many thanks!
@bkamrani I used react-native-swiper: https://github.com/leecade/react-native-swiper
× TypeError: Object(...) is not a function Module.D:\project\React Native\RN-Test\node_modules\react-native-pager-view\lib\module\PagerViewNative.js D:/project/React Native/RN-Test/PagerViewNative.tsx:11 8 | getInnerViewNode(): ReactElement; 9 | } 10 |