컴공생의 다이어리
[리액트 네이티브, react native] 경고창(warning) 숨기기 본문
728x90
react native 경고창(warning) 숨기기
react native 코드를 작성후 시뮬레이터를 돌렸을 때 나오는 경고창을 숨기려면 index.js 파일에 아래 코드를 마지막에 삽입해주면 된다.
console.disableYellowBox = true;
https://machine-woong.tistory.com/280
리액트 네이티브 경고창 숨기기
render(){ console.disableYellowBox = true; }
machine-woong.tistory.com
728x90
반응형
'Development > 기타' 카테고리의 다른 글
| [리액트 네이티브, react native] error Failed to launch emulator. Reason: No emulators found as an output of emulator -list-avds 에러 (0) | 2021.11.26 |
|---|---|
| [리액트 네이티브, react native] clone 후 프로젝트 실행 (0) | 2021.11.25 |
| 가상 머신(Virtual Machine)이란? - 정의, 종류 (0) | 2021.10.25 |
| [마크다운, Markdown] 이미지 삽입 (0) | 2021.10.20 |
| [마크다운, Markdown] 토글(toggle), Expander control(접기/펼치기) (3) | 2021.10.19 |
Comments