๋ฐ์ํ
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
- ๋ฐ์ดํฐ๋ถ์
- tableau
- ์๋ง์กด์น์๋น์ค
- ์๋ฐ์คํฌ๋ฆฝํธ
- ์ธ๊ณต์ง๋ฅ
- erp
- ๋ฆฌ์กํธ
- ํ์ด์ฌ
- ๋ฐฑ์ค
- ์๊ณ ๋ฆฌ์ฆ
- ํ ์คํธ๋ถ์
- sap
- AWS
- github
- abap
- ์ฝํ
- ๋ฐ์ดํฐ ๋ถ์
- ํ๋ธ๋ก
- DFS
- Git
- AI
- react
- ์์ฐ์ด์ฒ๋ฆฌ
- ์ฝ๋ฉํ ์คํธ
- nlp
- ํ๋ธ๋ฃจ
- ๋ฅ๋ฌ๋
- ๋น ๋ฐ์ดํฐ
- ํ ์คํธ๋ง์ด๋
- ๊นํ๋ธ
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