TypeScript support out of the box with React Native 0.57!!!
This template will no longer be maintained as native TypeScript support has been added to React Native 0.57: facebook/metro#209
๐พ React Native Template TypeScript ยท
Clean and minimalist React Native template for a quick start with TypeScript.
โญ Features
- Seamlessly integrated into the React Native CLI! โจ
- Consistent with the default React Native template
- React Native TypeScript Transformer included
- Unit testing in TypeScript with TS Jest
- Always latest dependencies
๐
โถ๏ธ Quick Start
react-native init MyApp --template typescript && node MyApp/setup.js
โ FAQ
What's included in this template?
This template always uses the latest versions of the dependencies at the time when the react-native init
command is being executed. This means you don't have to worry about old versions.
Lots of โค๏ธ and credits to the owners and maintainers of those packages.
Why the setup script?
It deletes obsolete files like the .flowconfig
and the setup.js
itself after the setup.
Does debugging work?
Yes it does.
๐ Links
- "Using React Native with TypeScript just became simple" on Medium
- "24 tips for React Native you probably want to know" on Albert Gao's blog
๐ป Contributing
Contributions are very welcome. Please check out the contributing document.
Donations
I created this project in my spare time because I enjoy coding. Of course you can support me by buying me a coffee if you wish.