codestates / codestates/waf-client

[ERROR] react type error/ Uncaught Error: Objects are not valid as a React child

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
bug Complete
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- 에러 종류 : react type error
- 에러 메세지 : Uncaught Error: Objects are not valid as a React child
- 해결 방법 :
> React component를 렌더링할 때, 데이터를 화면에 표시하려면 표시하려는 데이터 타입에 맞는 데이터를 넣어주어야 한다. 컴포넌트로 전달된 데이터와 표시하려는 데이터의 타입이 일치하지 않으면 다음과 같은 에러가 발생한다

그래서 해당 인풋값을 스트링으로 바꿔주었음
- 참고 링크
참조 링크 : 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.