Skip to content

Commit d78acc8

Browse files
authored
feat: add deprecation message (#320)
1 parent 0b2489a commit d78acc8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Diff for: README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# :space_invader: React Native Template TypeScript
1+
# This template is deprecated
2+
3+
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.
4+
5+
## :space_invader: React Native Template TypeScript
26

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

2832
```sh
29-
npx react-native init MyApp --template react-native-template-typescript
30-
```
31-
32-
### Usage with older versions of React Native
33-
34-
#### e.g. `[email protected]`
35-
36-
```sh
37-
npx react-native init MyApp --template [email protected]
33+
npx react-native init MyApp --template [email protected]
3834
```
3935

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

0 commit comments

Comments
 (0)