[DevTools Bug] Cannot add child "256" to parent "173" because parent node was not found in the Store.

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

Maintainer thường phản hồi trong vòng 1 ngày

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
22/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react
Lĩnh vực
developer-experience

Hướng nghiên cứu

The only code the payload names is the bundled extension file build/main.js, and the error string comes from the DevTools Store. Start by reproducing it: run a local React app, open the Components panel, and check whether the message appears on every load. Done means the reporter's steps reproduce the error and a maintainer confirms the cause, which likely needs the DevTools source and the Store's handling of parent and child nodes. The reporter gave no repro details, so ask for a minimal example before attempting a fix.

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

Mô tả

Component: Developer Tools Status: Unconfirmed Type: Bug
Website or app

it was local host, so..

Repro steps
  • open components in dev tools.
  • message shows up
How often does this bug happen?

Every time

DevTools package (automated)

react-devtools-extensions

DevTools version (automated)

8.0.0-1d34f91dfd

Error message (automated)

Cannot add child "256" to parent "173" because parent node was not found in the Store.

Error call stack (automated)
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:537038
    at _.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:490467)
    at _.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:493013)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:492093
    at nextBridgePortListener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:1:907981)
Error component stack (automated)

GitHub query string (automated)
https://api.github.com/search/issues?q=Cannot add child  to parent  because parent node was not found in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
Ngôn ngữ chính
JavaScript
Star
252k
Fork
51.7k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

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 react/react

Tất cả issue của react/react

Issue tương tự

Thêm issue về JavaScript

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.