Prevent JavaScript components from crashing ReactPy by adding error boundaries
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, python, react
Hướng nghiên cứu
Start by reading references #646 and #610, then trace components exported through module_from_template(...) and how tree-node exceptions are handled. Define done as invalid hook calls or other exceptions from those JavaScript components no longer causing ReactPy to fail completely, while pure ReactPy code remains unaffected.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current Situation
Currently, if an invalid hook call occurs then ReactPy completely breaks.
Reference
- #646
- #610
Proposed Actions
Add an error boundary to tree nodes to prevent complete failure upon tree exceptions. Probably only want to apply this to things that have been exported via module_from_template(...). We have no reason to assume this exception can happen with any pure ReactPy code.
- Ngôn ngữ chính
- Python
- Star
- 8.1k
- Fork
- 332
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
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.
Issue khác của reactive-python/reactpy
-
Outdated GIF in Docs Đang mởpriority-3-low type-docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
reactive-python/reactpy#1034 ·
-
priority-2-moderate type-revision
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
reactive-python/reactpy#1319 ·
-
priority-1-high
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
reactive-python/reactpy#1277 ·
-
priority-3-low
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
reactive-python/reactpy#1273 · 1 reaction ·
-
priority-2-moderate
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
reactive-python/reactpy#1272 · 2 reaction ·
Tất cả issue của reactive-python/reactpy
Issue tương tự
-
area/auth bug comp/agent P3 platform/discord type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#117848 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
bancolombia/sentinel#23 ·
-
test md Đang mởCI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100