codestates / codestates/HoloSulo
[Error-Handling] 박강용 2022-02-23
Open
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### 어떤 에러인가요?
React component를 렌더링할 때, 데이터를 화면에 표시하려면 표시하고자 하는 데이터 타입에 알맞는 데이터를 삽입 시켜줘야한다.
그렇게 하지 않을 시 아래와 같은 에러가 발생한다.
### 에러 메시지
```shell
$ react-dom.development.js:13231 Uncaught Error: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.
```
### 에러 핸들링 방법
* 아직 해결하지 못했다.
### 에러 핸들링을 위해 참고한 레퍼런스 링크
* [레퍼런스](https://velog.io/@bigbrothershin/React-Objects-are-not-valid-as-a-React-child-%EC%97%90%EB%9F%AC-%EC%B2%98%EB%A6%AC)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.