[Error Handling] The component styled.div with the id of * has been created dynamically. You may see this warning because you've called styled inside another component. To resolve this only create new StyledComponents outside of any render method and function component.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
> 해결된 에러라면 라벨에 'Complete' 를 달아주세요.
> 미해결된 에러라면 라벨을 'In progress' 로 변경해주세요.
### 어떤 에러인가요?
- 사이트의 렌더링 자체는 정상적으로 되지만 콘솔창에 워닝 메세지가 뜸
### 에러 메시지
The component styled.div with the id of * has been created dynamically.You may see this warning because you've called styled inside another component.To resolve this only create new StyledComponents outside of any render method and function component.
--
### 에러 핸들링 방법
- styled 요소가 component 안쪽에서 선언되었을때 해당 오류가 발생함.
- 콘솔창에서 해당 오류가 app.tsx 에서 일어나고 있음 을 확인
-

실제로 ContentWrap이 app() 컴포넌트 안쪽에서 선언되었음을 확인하였음

해당 컴포넌트를 밖으로 빼줌
### 에러 핸들링을 위해 참고한 레퍼런스 링크
[링크](https://letsgojieun.tistory.com/120)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.