Investigate MorphDOM vs ReactDOM

Đang mở
#883 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, python, react
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reviewing the reactpy.html.script behavior and the original discussion in https://github.com/idom-team/idom/discussions/798. Compare how ReactDOM currently handles client-side DOM changes with the proposed MorphDOM alternative. Done means documenting a clear decision on whether to adopt MorphDOM or address the ReactDOM mismatch another way.

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

Mô tả

priority-3-low type-investigation

Currently, due to the addition of our reactpy.html.script tag, there is now the potential of user's manually manipulating the client side DOM, which will cause a mismatch when comparing to the server side VDOM. This can cause client side exceptions within ReactDOM when the attempting to change/modify/add/delete nodes or attributes that no longer exist. We may want to consider switching to MorphDOM to account for this, since it could automatically mutate the client DOM to meet the server side VDOM model.

This issue exists to debate whether MorphDOM should be considered as an alternative, or whether we should simply work around these issues with React-DOM.

Note: Originally discussed in https://github.com/idom-team/idom/discussions/798 by Archmonger August 10, 2022

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của reactive-python/reactpy

Tất cả issue của reactive-python/reactpy

Issue tương tự

Thêm issue về Python

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.