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
- Spring Entity
- Javascript
- Docker Windows 설치
- spring security
- Spring JPA
- 텍스트가 많은 경우
- react Page
- react
- spring
- react quill custom
- javascrpit 기초
- react Quill
- react link
- react forwardRef
- javascript 함수
- JPA Insert
- Spring DTO
- springbatch chunk
- react jsx if
- Spring CORS
- editor Quill
- springbatch
- spring builder
- JPA Update\
- javascript 기초
- 코드 중복제거
- SpringBatch 스키마
- step 테이블
- Spring Controller return
- react react-router-dom v6
Archives
- Today
- Total
천천히 알아보는 코딩공부
react 오류 해결 - Warning: Invalid DOM property `class`. Did you mean `className`? 본문
React/오류해결
react 오류 해결 - Warning: Invalid DOM property `class`. Did you mean `className`?
고기고기물고기 2022. 7. 7. 11:10Warning: Invalid DOM property `class`. Did you mean `className`?
function Side_bar() {
return (
/* Sidebar */
<aside id="sidebar" className="sidebar">
<ul className="sidebar-nav" id="sidebar-nav">
<li className="nav-item">
<a className="nav-link " href="index.html">
<i className="bi bi-grid"></i>
<span>Dashboard</span>
</a>
</li>
...
)
}
이런식으로 class -> className 으로 사용하면 발생하지 않는다.
'React > 오류해결' 카테고리의 다른 글
[오류해결] react - unable to resolve dependency tree (0) | 2022.09.05 |
---|---|
[오류해결] react - unable to resolve dependency tree (0) | 2022.08.16 |
react 오류 해결 - ReactDOM.render is no longer supported in React 18 (0) | 2022.07.07 |