Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- web
- DATAPATH
- instruction
- github
- data structure
- javascript
- architecture
- function
- DoM
- CSS
- python
- Linux
- MIPS
- Java
- html
- control
- while
- mysql
- MacOS
- for
- computer
- Algorithm
- system
- Pipelining
- DB
- Class
- react
- php
- DS
- XML
Archives
- Today
- Total
YYYEJI
[React] react-dom.development.js:86 Warning: validateDOMNesting(...): <h2> cannot appear as a descendant of <p> 에러 본문
Web Application Server (WAS)
[React] react-dom.development.js:86 Warning: validateDOMNesting(...): <h2> cannot appear as a descendant of <p> 에러
YEJI ⍢ 2023. 1. 16. 01:05728x90
react-dom.development.js:86 Warning: validateDOMNesting(...): <h2> cannot appear as a descendant of <p>
에러는 tag를 감싸는 tag가 <p> tag 일 때 발생하는 tag입니다.
감싸는 tag를 찾아서 <div>로 바꿔주면 해결됩니다.
◡̈
'Web Application Server (WAS)' 카테고리의 다른 글
[React] 버튼 onClick 속성에 두 개의 기능 넣기 (0) | 2023.01.14 |
---|---|
[React] 리액트(React)에서 텍스트 줄바꿈하기 (0) | 2023.01.14 |
[React] Link 컴포넌트 밑줄 제거하기 (0) | 2023.01.14 |
[React] 함수형 컴포넌트에 props 전달하기 (0) | 2023.01.13 |
[JSP] Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core 에러 (0) | 2023.01.11 |