callstack / callstack/react-native-pager-view
Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'
- Ngôn ngữ chính
- TypeScript
- Star
- 3.4k
- Fork
- 476
- Merge trung bình
- 10 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
How to Solve [Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types']
when i added this dependancy and run my app then it gave me this error. and i try to find out where 'ViewPropTypes' is used in this dependancy but i found that they use only 'ViewProp' in PagerViewNativeComponent.ts file

Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra PagerViewNativeComponent.ts và tái hiện invariant đã được báo cáo khi chạy ứng dụng với dependency đã được cài đặt. Theo dõi tham chiếu ViewProp và so sánh nó với lỗi ViewPropTypes đã được báo cáo. Công việc được xem là hoàn tất khi dependency không còn kích hoạt invariant này trong quá trình khởi động ứng dụng, kèm theo một kiểm tra hồi quy phù hợp nếu repository cung cấp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100