Passing a string to `style` causes error without helpful message
Đang mở
Chưa có ai nhận issue này.
bug
P3
- Ngôn ngữ chính
- Python
- Star
- 24.4k
- Fork
- 2.3k
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 13
Mô tả
I absent-mindedly passed a string to the style prop of html.Div and got a simple "Error loading dependencies..." result with nothing in the Python console and an obscure React error in the JS console. Would be nice to have something more helpful.
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
Reproduce the issue with a Python html.Div whose style prop is a string, then inspect the Python and JavaScript console output described in the report. Trace the style prop handling from the component entry point and make the resulting error explain that the prop value is invalid.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, react
- Lĩnh vực
- frontend
- 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
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100