Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhangwei900808/myreactnativeproject
expo react native react navigation element
https://github.com/zhangwei900808/myreactnativeproject
Last synced: about 1 month ago
JSON representation
expo react native react navigation element
- Host: GitHub
- URL: https://github.com/zhangwei900808/myreactnativeproject
- Owner: zhangwei900808
- Created: 2020-05-22T08:26:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T22:16:14.000Z (about 2 years ago)
- Last Synced: 2024-04-18T07:27:17.472Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.32 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [TypeScript Example](https://www.typescriptlang.org/)
TypeScript is a superset of JavaScript which gives you static types and powerful tooling in Visual Studio Code including autocompletion and useful inline warnings for type errors.
## 🚀 How to use
#### Creating a new project**
- Install the CLI: `npm i -g expo-cli`
- Create a project: `expo init --template expo-template-blank-typescript`
- `cd` into the project### Adding TypeScript to existing projects
- Copy the `tsconfig.json` from this repo, or new typescript template
- Add typescript dependencies: `yarn add --dev @types/react @types/react-native typescript`
- Rename files tpo TypeScript, `.tsx` for React components and `.ts` for plain typescript files## 📝 Notes
- [Expo TypeScript guide](https://docs.expo.io/versions/latest/guides/typescript/)