Warning "Whitespace text nodes cannot appear as a child of <tbody>"
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react, typescript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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)
- 主要语言
- TypeScript
- 星标
- 670
- 派生
- 55
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-hook-form/devtools 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
react-hook-form/devtools#234 · 1 条评论 · 6 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
react-hook-form/devtools#226 · 3 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 55/100
react-hook-form/devtools#223 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 25/100
react-hook-form/devtools#212 · 5 条评论 · 8 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
react-hook-form/devtools#208 · 13 条评论 · 21 个 reaction ·
查看 react-hook-form/devtools 的全部 Issue
相似的 Issue
-
bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
sleeyax/paseo-plugins#112 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
rossoctl/serverless-harness#428 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
typesense/typesense-js#376 ·
-
ready sonnet zone:app
难度 2/5 1-3 小时 新手友好度 92/100
wheresrhys/totf#1103 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
prime-radiant-inc/evener#3726 ·
维护者通常 1 天内回复