Remove deprecated APIs
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 127k
- Fork
- 25.3k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
Description
The APIs listed below are already replaced, broken, or no longer do anything. They should be removed to keep the surface small and avoid confusing new users.
We should clean each one up once the version it was deprecated in is flagged as unsupported. The React Native releases page lists which versions are still supported, so use it to decide when removal is safe.
I will open multiple PRs to clean these up, one per API.
- Modal
animated(deprecated since < 0.60) - https://github.com/react/react-native/pull/57385 - ScrollView
keyboardShouldPersistTapsboolean values (deprecated since < 0.60) - https://github.com/react/react-native/pull/57386 - VirtualizedList
disableVirtualization(deprecated since < 0.60) - https://github.com/react/react-native/pull/57388 - StatusBar
backgroundColor/translucent(Android) (deprecated since 0.76) - https://github.com/react/react-native/pull/57392 - StatusBar
setNetworkActivityIndicatorVisible()(iOS) (deprecated since 0.77) - https://github.com/react/react-native/pull/57392 - TextInput
blurOnSubmit(deprecated since 0.77) - https://github.com/react/react-native/pull/57393 - InteractionManager (deprecated since 0.80) - https://github.com/react/react-native/pull/57394
- SafeAreaView (deprecated since 0.81) - https://github.com/react/react-native/pull/57395
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với trang releases của React Native để xác nhận rằng phiên bản giới thiệu API đã lỗi thời không còn được hỗ trợ. Chọn một mục chưa được đánh dấu—VirtualizedList disableVirtualization, TextInput blurOnSubmit hoặc SafeAreaView—sau đó kiểm tra phần triển khai của mục đó và tham chiếu PR tương ứng; công việc hoàn tất khi API đó được xóa một cách an toàn.
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
- Lĩnh vực
- mobile
- Loại issue
- Tái cấu trúc
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100