Skip to content

Commit

Permalink
feat: add deprecation message (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
radko93 authored Jan 13, 2023
1 parent 0b2489a commit d78acc8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# :space_invader: React Native Template TypeScript
# This template is deprecated

React Native added [first-class support for Typescript in version 0.71](https://reactnative.dev/blog/2023/01/03/typescript-first), with the base template now utilizing it. Additionally, the types have been integrated into the React Native repository. Although this template can still be used to generate projects with older versions of React Native, we will no longer update it. We would like to express our gratitude to all contributors for their efforts in enhancing this template over the years.

## :space_invader: React Native Template TypeScript

<p>
<a href="https://github.com/react-native-community/react-native-template-typescript/actions/workflows/npm-publish.yml">
Expand Down Expand Up @@ -26,15 +30,7 @@
## :arrow_forward: Usage

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

### Usage with older versions of React Native

#### e.g. `react-native@0.69.x`

```sh
npx react-native init MyApp --template react-native-template-typescript@6.11.9
npx react-native init MyApp --template react-native-template-typescript@6.12.10
```

See the below table to find out which version of the template to use.
Expand Down

0 comments on commit d78acc8

Please sign in to comment.