반응형
https://reactnative.dev/docs/typescript
Using TypeScript · React Native
TypeScript is a language which extends JavaScript by adding type definitions, much like Flow. While React Native is built in Flow, it supports both TypeScript and Flow by default.
reactnative.dev
(위 링크에 상황별 가이드가 자세히 나와있다)
우리는 react-native + typescript로 새로 프로젝트를 열때를 기준으로 한다.
npx react-native init MyAppName --template react-native-template-typescript
위 명령어 만으로 프로젝트 생성은 완료이다.
다음편은, 생성된 프로젝트에
플랫폼별로 실행 환경 세팅을 진행할것이다.
반응형
'개발, 코딩 > App - React Native' 카테고리의 다른 글
React-Native 가이드 - (4) 푸시 알림 보내기 (0) | 2021.10.06 |
---|---|
React-Native 가이드 - (2) 개발환경 세팅하기 (0) | 2021.10.05 |
React Native 가이드 - 시작 (0) | 2021.10.05 |
react-native-admob (0) | 2019.10.27 |
expo publish에 대하여 (0) | 2019.10.23 |