From d78acc8543daf9b9eb525f12e0c5f78ee34d02c2 Mon Sep 17 00:00:00 2001 From: Radek Czemerys <7029942+radko93@users.noreply.github.com> Date: Fri, 13 Jan 2023 15:20:44 +0700 Subject: [PATCH] feat: add deprecation message (#320) --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 95c0527f..0a74fb09 100644 --- a/README.md +++ b/README.md @@ -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

@@ -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.