Skip to content
๐Ÿ‘พ Clean and minimalist React Native template for a quick start with TypeScript.
Objective-C TypeScript Ruby Java JavaScript Starlark
Branch: master
Clone or download

Latest commit

maximilize Fixed prettier nullish chaining bug (#120)
In the `@react-native-community/eslint-config` package a quite outdated version of prettier is used which does not support the nullish chaining yet. While adding prettier to the devDependencies, this bug is fixed.
Latest commit 82aff0b Feb 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
template Fixed prettier nullish chaining bug (#120) Feb 18, 2020
.gitignore added latest RN template Jul 4, 2019
.travis.yml removed branch condition Sep 11, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Mar 28, 2018
CONTRIBUTING.md updated contributing document Mar 5, 2019
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Mar 28, 2018
LICENSE updated license year Mar 5, 2019
README.md completed eslint ts setup and fixed eslint issues (#112) Dec 20, 2019
package-lock.json removed tests as there is no post install script anymore Jul 4, 2019
package.json
template.config.js added latest RN template Jul 4, 2019

README.md

๐Ÿ‘พ React Native Template TypeScript

Build Status Documentation Maintenance License: MIT

Clean and minimalist React Native template for a quick start with TypeScript.

โญ๏ธ Features

  • Elegant usage directly within the React Native CLI
  • Consistent with the default React Native template
  • Minimal additional dependencies

โ–ถ๏ธ Usage

Note on the legacy CLI

There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

Further information can be found here: https://github.com/react-native-community/cli#about

react-native@0.61.0 or higher

npx react-native init MyApp --template react-native-template-typescript

react-native@0.60.x

npx react-native init MyApp --template react-native-template-typescript@6.2.0

๐Ÿ’ป Contributing

Contributions are very welcome. Please check out the contributing document.

๐Ÿ”– License

This project is MIT licensed.

You canโ€™t perform that action at this time.