warning.js:34 warning: react-modal: app element is not defined.

warning.js:34 warning: react-modal: app element is not defined. please use modal.setappelement(el) or set appelement={el}. this is needed so screen re

3일 전
·
0개의 댓글
·

[TIIL] - HTMLDivElement to React Element & TypeError Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.

How to cast an HTMLElement to a React element?\[React] React 엘리먼트 생성하기 :: createElement()2021.09.11 00:02프로그래밍/React

2023년 2월 16일
·
0개의 댓글
·

react error - export 'route' (imported as 'route') was not found in 'react-router-dom' (possible exports: browserrouter, form, hashrouter,

"export 'route' (imported as 'route') was not found in 'react-router-dom' (possible exports: browserrouter, form, hashrouter,"이런 에러가 떳는데,, 순차로 실행하니 해결

2023년 2월 7일
·
0개의 댓글
·

react error - Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):

"Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):""react-router", "react-router-dom" 버전업을 한 후에 저런 에러가 났는데,, 검색해도 나오는게 없었다.. 해결

2023년 2월 7일
·
0개의 댓글
·

[TIL] - context

= 무언가(action) 하기 위한 정보= 필수 컨텍스트, 선택 컨텍스트프로그래밍에서 context란.?= 전역 컴포넌트에서 사용 가능한 매개 변수= context 이용시 루트에서 최하위 컴포넌트까지 데이터 한 번에 전달 가능 useContext 사용법 및 예제

2023년 2월 6일
·
0개의 댓글
·

[TIL] - react mobx

mobX = 상태관리 라이브러리 = redux 보다 사용 간편 = 상태관리 라이브러리 사용 이유 -> component로만 개발시 비즈니스 로직이 component에 집중되어 스파게티 코드가 됌. 상태 관리 라이브러리 사용시 component는 controller 역할

2023년 2월 3일
·
0개의 댓글
·
post-thumbnail

Objects are not valid as a React child (found: object with keys - react type error

회사에서 moment.js를 쓰길래 질문을 올렸다가, 요즘 누가 그걸 쓰냐고 day.js로 바꾸라는 면박을 들었다.별다른 이유는 없는것 같고 모멘트가 지원 중단 했기 때문인것 같긴한데... 나중에 회사 코드를 변경할 일 이 생길까 해서 한가할때 비교해보려고 샌드박스에

2022년 12월 22일
·
0개의 댓글
·
post-thumbnail

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

Error ERR_REQUIRE_ESM: Must use import to ...

2022년 10월 11일
·
0개의 댓글
·