๋ฐ์ํ
250x250
Notice
Recent Posts
Recent Comments
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- react
- erp
- ํ ์คํธ๋ถ์
- ํ๋ธ๋ก
- ์ฝํ
- ๋ฐ์ดํฐ๋ถ์
- ํ ์คํธ๋ง์ด๋
- nlp
- ๋ฆฌ์กํธ
- abap
- ๋ฐ์ดํฐ ๋ถ์
- ์๊ณ ๋ฆฌ์ฆ
- tableau
- ์๋ง์กด์น์๋น์ค
- AI
- ์์ฐ์ด์ฒ๋ฆฌ
- ํ์ด์ฌ
- ์ธ๊ณต์ง๋ฅ
- AWS
- ํ๋ธ๋ฃจ
- DFS
- github
- ๋ฅ๋ฌ๋
- ์ฝ๋ฉํ ์คํธ
- ๋ฐฑ์ค
- ๊นํ๋ธ
- ๋น ๋ฐ์ดํฐ
- Git
- ์๋ฐ์คํฌ๋ฆฝํธ
- sap
Archives
- Today
- Total
๋ชฉ๋กcomponent (1)
Hey Tech
[React] ์๋ฌ ํด๊ฒฐ: "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."
โ๏ธ์๋ฌ ์ํฉ return์์ ์๋์ ๊ฐ์ด ์ฝ๋ ์์ฑ ํ ์คํ ์ ์๋ฌ ๋ฐ์ return ( {function} ) ๐์๋ฌ ๋ฉ์์ง Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it. โ ํด๊ฒฐ์ฑ ๋ค์๊ณผ ๊ฐ์ด ํจ์๋ช ๋ค์ ๊ดํธ ๋ถ์ฌ์ฃผ๋ฉด ํด๊ฒฐ๋ฉ๋๋ค. return ( {function()} ) ํฌ์คํ ๋ด์ฉ์ ์ค๋ฅ๊ฐ ์๋ค๋ฉด ์๋์ ๋๊ธ ๋จ๊ฒจ์ฃผ์ธ์. ๊ทธ๋ผ ์ค๋๋ ์ฆ๊ฑฐ์ด ํ๋ฃจ ๋ณด๋ด์๊ธธ ๋ฐ๋๋๋ค :) ๊ณ ๋ง์ต๋๋ค๐
SW ๊ฐ๋ฐ/React JS
2022. 7. 1. 18:05