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

Abierto
#132 0 comentarios 3 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
react, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)
Lenguaje dominante
TypeScript
Estrellas
670
Forks
55
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de react-hook-form/devtools

Todos los issues de react-hook-form/devtools

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.