반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- interceptors
- useState #Hooks
- 노마드 코더 #타입스크립트 #typescript #class
- 백준 #적록색약
- raect typescript #react #typescript #styled-component
- DP #c++
- 플로이드 #c++
- React #effect hook #useEffect
- axios
- npm #not being able to find a file #npm install Error
- React #리액트 이벤트 주기 #리액트 이벤트
- 다익스트라 #파티 #백준
- JWT #토큰 #refreshToken #accessToken #Token #token #localStorage #sessionStorage
- 백준 #직각삼각형
- react fragment
- react #useCallback #react Hook
- html entities
- 이친수
- React #controlled component #비제어 컴포넌트 #제어 컴포넌트
- 얕은 복사 #깊은 복사 #shallow copy #deep copy
- rate limit
- React-Query
- 코드스테이츠 #알고리즘 #그리디
- React #Hook rules #Hook 규칙
- react
- donwstream #upstream #origin
- #useRef #언제 쓰는데?
- 빡킹독
- RateLimit
- 버블링 #갭쳐링 #이벤트 #JS
Archives
- Today
- Total
목록raect typescript #react #typescript #styled-component (1)
꿈꾸는 개발자
이미 만든 React에 Typescript 적용하기
처음부터 TypeScript로 react를 시작하면 간단하게 밑과 같이 npx로 진행하면 된다. npx create-react-app my-app --template typescript or yarn create react-app my-app --template typescript 하지만 만약 이미 만들어 놓은 react에 중간 갑자기 typescript를 적용하고 싶은 경우 다음과 같이 진행하면 된다. npm install --save typescript @types/node @types/react @types/react-dom @types/jest or yarn add typescript @types/node @types/react @types/react-dom @types/jest 그 다음 기존에 ..
React.js
2023. 3. 11. 20:34