결론 : 코드 사이에 모든 공백을 제거하면 더이상 콘솔경고 나지 않음
ex )
<tr> <th > {head} </th> </tr>
<tr><th>{head}</th></tr>
'React' 카테고리의 다른 글
[React] yarn add 여러개 (0) | 2021.09.24 |
---|---|
[React] inner style important 적용 (0) | 2021.09.18 |
[REACT] (SingleDatePicker) Warning: Failed prop type: Invalid prop `date` of typ (0) | 2021.09.14 |
[REACT] getDerivedStateFromProps - Cannot read properties of undefined (reading 'setState') (0) | 2021.09.14 |
yarn install 안될경우 (0) | 2021.09.02 |