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 |
Tags
- 성수핫플
- 코딩
- IntelliJ
- DesignPattern
- 주니어개발자
- 오브젝트
- 독서
- 성수맛집
- 객체지향
- docker
- 성수
- 성수볼거리
- 책읽기
- 깨끗한코드
- 디자인패턴
- JAVA개발자
- 성수직장인
- 직장인점심
- Java
- 객체지향프로그래밍
- 상속
- 독서일지
- Linux
- 헤드퍼스트디자인패턴
- 개발자
- 헤드퍼스트
- 직장인
- JavaScript
- 책너두
- 클린코드
Archives
- Today
- Total
런타임노트
[Error] "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it." 본문
React
[Error] "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."
D269 2023. 8. 16. 11:13728x90
원인
함수인데 함수로 써주지 않아서 생기는 원인
ex) function() 인데 function으로 작성할 경우
해결
함수인데 function 이라고 작성한 게 있다면 function()으로 수정한다.
728x90
반응형
'React' 카테고리의 다른 글
| [node] nvm으로 node 버전 관리하기 (0) | 2023.09.09 |
|---|---|
| [Error] useRoutes() may be used only in the context of a <Router> component. (1) | 2023.08.16 |
| [Error] Can't resolve '@mui/material/TextField' (0) | 2023.08.09 |
| [오류][React Native/android] validateSigningDebug FAILED (0) | 2023.04.24 |
| React에서 텍스트 줄바꿈하기 (2) | 2023.03.30 |