acdlite / acdlite/redux-router

React.PropTypes is deprecated in React@15.5

Đang mở Phù hợp với người mới
#289 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.3k
Fork
194
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Now there are warnings from redux-router.

> Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Find where redux-router uses React.PropTypes, likely in component files. Replace those imports with the separate 'prop-types' package. Check the project's dependencies to see if prop-types is already included, and update import statements accordingly. Verify the fix by running any existing tests or checking that the warning disappears.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, react
Lĩnh vực
frontend
Loại issue
Tái cấu trúc
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
70/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.