Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Warning "Whitespace text nodes cannot appear as a child of <tbody>"

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
devtools, frontend

Hướng nghiên cứu

Reproduce the warning with version 4.1.0 and inspect the PanelTable entry in the @hookform_devtools.js stack trace, then trace it back to the corresponding source component. Confirm the issue is addressed when the tbody warning no longer appears in the reproduction.

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

Mô tả

bug

I'm able to reproduce it with version 4.1.0

Warning: validateDOMNesting(...): Whitespace text nodes cannot appear as a child of <tbody>. Make sure you don't have any extra whitespace between tags on each line of your source code.
tbody
table
withEmotionCache2/<@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:1935:45
PanelTable@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:2618:19
section
PanelChildren@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:2694:16
div
div
Panel@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:2729:17
div
div
Animate2@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:88:178
DevToolUI@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:2806:17
r@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:676:12
DevTool@http://localhost:3000/node_modules/.vite/deps/@hookform_devtools.js?v=6ea3fd1b:2825:17
form
section
...
ErrorHandler@http://localhost:3000/src/routes/Error.tsx:37:29 [react_devtools_backend.js:3973:25](moz-extension://669074cd-27cf-4149-a4d2-4519db47042e/build/react_devtools_backend.js)
Ngôn ngữ chính
TypeScript
Star
670
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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-hook-form/devtools

Tất cả issue của react-hook-form/devtools

Issue tương tự

Thêm issue về TypeScript

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.