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 |
Tags
- pandas
- node
- AWS
- socket io
- crud
- Vue
- 튜플
- TypeScript
- Props
- react
- Class
- SSA
- 카톡
- dict
- MongoDB
- docker
- RDS
- NeXT
- git
- async
- lambda
- 중급파이썬
- 채팅
- flask
- merge
- SAA
- wetube
- S3
- EC2
- 파이썬
Archives
- Today
- Total
초보 개발자
오류 Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. 본문
Error
오류 Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render.
taehyeki 2021. 11. 8. 20:34react도중 갑자기 저런 오류가 발생하였다. 뭐지..? 한참을 찾다가
<Route path="/" element={<Home />} /> // 정상문장
<Route path="/" element={Home} /> // 오류문장
이렇게 해주었더니 오류가 해결되었다.